"End of unit turn" can be undone now, allowed to set movement even if it's -1,
may be it broke anything else. look at it carefully
This commit is contained in:
parent
2835d16196
commit
7c5fa13880
1 changed files with 2 additions and 1 deletions
|
@ -211,7 +211,8 @@ bool unit::can_attack() const
|
|||
|
||||
void unit::set_movement(int moves)
|
||||
{
|
||||
if(moves_ != -1)
|
||||
// next line commented to let undo work when space is pressed
|
||||
// if(moves_ != -1)
|
||||
moves_ = moves;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue