Fix Segmentation Fault when Show Enemy Moves is off.
Seems like display should be handed around instead of acceleration parameter and the magic "5"?
This commit is contained in:
parent
04ac1b2122
commit
a6a9cdd652
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ std::string recruit_unit(const gamemap& map, int side,
|
|||
|
||||
}
|
||||
}
|
||||
un->second.set_standing(disp->turbo()?5:1);
|
||||
un->second.set_standing(disp && disp->turbo()?5:1);
|
||||
LOG_NG << "firing recruit event\n";
|
||||
game_events::fire("recruit",recruit_location);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue