From de0361842fb9b086c092650ae02a2acbaefbd273 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 19 Apr 2021 18:05:52 +0300 Subject: [PATCH] - removed useless initializations in binds printing ACS code variables are initialized by FKeyBindings::GetKeysForCommand() anyway --- src/playsim/p_acs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/p_acs.cpp b/src/playsim/p_acs.cpp index 127707906..650de5755 100644 --- a/src/playsim/p_acs.cpp +++ b/src/playsim/p_acs.cpp @@ -8601,7 +8601,7 @@ scriptwait: lookup = Level->Behaviors.LookupString (STACK(1)); if (lookup != NULL) { - int key1 = 0, key2 = 0; + int key1, key2; Bindings.GetKeysForCommand ((char *)lookup, &key1, &key2);