We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a1c42 commit 3f4a3e8Copy full SHA for 3f4a3e8
src/intro/title.cpp
@@ -124,6 +124,7 @@ void run_konami_code()
124
if (kc_table[title.kc_pos] == -1)
125
{
126
NXE::Sound::SoundManager::getInstance()->playSfx(NXE::Sound::SFX::SND_MENU_SELECT);
127
+ game.debug.god = 1;
128
title.kc_pos = 0;
129
}
130
src/player.cpp
@@ -1263,10 +1263,13 @@ void hurtplayer(int damage)
1263
if (!player || !player->hp)
1264
return;
1265
#if defined(DEBUG)
1266
- if (game.debug.god || inputs[DEBUG_MOVE_KEY])
+ if (inputs[DEBUG_MOVE_KEY])
1267
1268
#endif
1269
1270
+ if (game.debug.god)
1271
+ return;
1272
+
1273
if (player->hurt_time)
1274
1275
0 commit comments