From 74b056fa45b9ba0e588a8dfd2f5d24c74fd19d31 Mon Sep 17 00:00:00 2001 From: PurpleHato Date: Wed, 18 Dec 2024 05:57:37 +0100 Subject: ADD: Cheat - Current Mission Score Editor --- src/engine/fox_display.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/engine') diff --git a/src/engine/fox_display.c b/src/engine/fox_display.c index 847464a3..b0bf6289 100644 --- a/src/engine/fox_display.c +++ b/src/engine/fox_display.c @@ -2132,6 +2132,14 @@ void Display_Update(void) { } gLaserStrength[0] = 2; } + + if (CVarGetInteger("gScoreEditor", 0) == 1) { + if ((gGameState != GSTATE_PLAY) || (gPlayState <= PLAY_INIT)) { + return; + } + gHitCount = CVarGetInteger("gScoreEditValue", 1); + + } Hit64_Main(); // ground testing #if 0 -- cgit v1.2.3