Skip to content

Commit

Permalink
Fix numberCommands
Browse files Browse the repository at this point in the history
It wasn't updated correctly for units with morphing abilities
  • Loading branch information
Rampoina committed Aug 2, 2022
1 parent 33dfb0e commit cafafe1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/glest_game/gui/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,8 +1028,9 @@ void Gui::computeDisplay(){
}
}
}
numberCommands = displayPos;
}
numberCommands = ut->getCommandTypeCount();
numberCommands++;
}
}
else{
Expand Down

0 comments on commit cafafe1

Please sign in to comment.