- use an array to store the buttons.
This puts a lot less knowledge about the game's features into the low level code.
This commit is contained in:
parent
0e7480b4ed
commit
8dacdf2951
13 changed files with 405 additions and 251 deletions
|
|
@ -1053,7 +1053,7 @@ void G_DoLoadLevel(const FString &nextmapname, int position, bool autosave, bool
|
|||
gameaction = ga_nothing;
|
||||
|
||||
// clear cmd building stuff
|
||||
ResetButtonStates();
|
||||
buttonMap.ResetButtonStates();
|
||||
|
||||
SendItemUse = nullptr;
|
||||
SendItemDrop = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue