mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-24 21:01:33 +00:00
Pressing Mouse1 and Mouse2 no longer crashes on Linux. Fixes #1061
This commit is contained in:
parent
b36c14ae70
commit
6c9b3b5d91
1 changed files with 4 additions and 0 deletions
|
@ -506,6 +506,10 @@ namespace CodeImp.DoomBuilder.Actions
|
|||
// Update pressed keys
|
||||
if (!repeat) pressedkeys.Add(strippedkey);
|
||||
|
||||
if (key == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Add action to active list
|
||||
Action[] acts = GetActionsByKey(key);
|
||||
bool absorbed = acts.Length > 0;
|
||||
|
|
Loading…
Reference in a new issue