clonk cant move while menu is open

stable-5.1
Tobias Zwick 2010-06-24 22:25:17 +02:00
parent f2dc05e970
commit 8e5ecbff87
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ global func PlayerControl(int plr, int ctrl, id spec_id, int x, int y, int stren
else if (ctrl == CON_Up) cursor->GetMenu()->~ControlUp(release);
else if (ctrl == CON_Down) cursor->GetMenu()->~ControlDown(release);
else handled = false;
if (handled) return true;
// cancel menu
if (ctrl == CON_CancelMenu)