fix uninitialized failure
caught by valgrind (probably inconsequential though)
This commit is contained in:
parent
ab49e328b9
commit
c10ddf275e
2 changed files with 4 additions and 3 deletions
|
@ -83,7 +83,8 @@ game_display::game_display(game_board& board, CVideo& video, boost::weak_ptr<wb:
|
|||
first_turn_(true),
|
||||
in_game_(false),
|
||||
chat_man_(new display_chat_manager(*this)),
|
||||
game_mode_(RUNNING)
|
||||
game_mode_(RUNNING),
|
||||
needs_rebuild_(false)
|
||||
{
|
||||
replace_overlay_map(&overlay_map_);
|
||||
clear_screen();
|
||||
|
|
|
@ -64,9 +64,9 @@ uint32_t mt_rng::get_next_random()
|
|||
{
|
||||
uint32_t result = mt_();
|
||||
++random_calls_;
|
||||
DBG_RND << "pulled user random " << result
|
||||
DBG_RND << (formatter() << "pulled user random " << result
|
||||
<< " for call " << random_calls_
|
||||
<< " with seed " << std::hex << random_seed_ << '\n';
|
||||
<< " with seed " << std::hex << random_seed_).str() << std::endl;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue