Skip to content

Commit

Permalink
- removed useless initializations in binds printing ACS code
Browse files Browse the repository at this point in the history
variables are initialized by FKeyBindings::GetKeysForCommand() anyway
  • Loading branch information
alexey-lysiuk committed Apr 19, 2021
1 parent e24ff0a commit de03618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playsim/p_acs.cpp
Expand Up @@ -8601,7 +8601,7 @@ int DLevelScript::RunScript()
lookup = Level->Behaviors.LookupString (STACK(1));
if (lookup != NULL)
{
int key1 = 0, key2 = 0;
int key1, key2;

Bindings.GetKeysForCommand ((char *)lookup, &key1, &key2);

Expand Down

0 comments on commit de03618

Please sign in to comment.