From 65e8142959814ea678567e714e98dfd46ac00e5d Mon Sep 17 00:00:00 2001 From: onpon4 Date: Fri, 25 Nov 2016 17:24:45 -0500 Subject: [PATCH] Removed remaining references to engine.cheatCredits. --- src/engine.h | 1 - src/title.cpp | 7 ------- 2 files changed, 8 deletions(-) diff --git a/src/engine.h b/src/engine.h index 815b13b..99f4609 100644 --- a/src/engine.h +++ b/src/engine.h @@ -98,7 +98,6 @@ typedef struct Engine_ { int cheatCash; int cheatAmmo; int cheatTime; - int cheatCredits; } Engine; diff --git a/src/title.cpp b/src/title.cpp index 789bc4b..e5f00dc 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -421,13 +421,6 @@ int title_show() getPlayerInput(); - // if someone has invoked the credits cheat - if (engine.cheatCredits) - { - title_showCredits(); - engine.cheatCredits = 0; - } - if ((engine.keyState[KEY_FIRE] || engine.keyState[KEY_ALTFIRE])) { if ((now - then <= 27500) && (!skip))