"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:
uid67456 2004-01-24 01:16:09 +00:00
parent 2835d16196
commit 7c5fa13880

View file

@ -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;
}