From d67f19f477fce931d1fbfffe632ae6f066626c4e Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Sun, 20 Sep 2015 20:08:24 -0400 Subject: [PATCH] fix broken release build compilation --- src/io/key.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/key.cpp b/src/io/key.cpp index 5054f15..63ff436 100644 --- a/src/io/key.cpp +++ b/src/io/key.cpp @@ -584,7 +584,7 @@ void key_mark(SDL_Scancode scancode, int state, ushort kmod, uint latency ) // Int3(); // } #else - if ( keyd_pressed(KEY_DEBUG_KEY) ) { + if ( key_pressed(KEY_DEBUG_KEY) ) { mprintf(("Cheats_enabled = %i, Key_normal_game = %i\n", Cheats_enabled, Key_normal_game)); if (Cheats_enabled && Key_normal_game) { keycode |= KEY_DEBUGGED1; -- 2.39.2