MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / cheat_oneHitKill

Function cheat_oneHitKill

TheForceEngine/TFE_DarkForces/player.cpp:1387–1392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1385 }
1386
1387 void cheat_oneHitKill()
1388 {
1389 s_oneHitKillEnabled = ~s_oneHitKillEnabled;
1390 const char* msg = TFE_System::getMessage(TFE_MSG_ONEHITKILL);
1391 if (msg) { hud_sendTextMessage(msg, 1); }
1392 }
1393
1394 void cheat_instaDeath()
1395 {

Callers 2

executeCheatFunction · 0.85
configDarkForcesCheatsFunction · 0.85

Calls 2

hud_sendTextMessageFunction · 0.85
getMessageFunction · 0.50

Tested by

no test coverage detected