| 1392 | } |
| 1393 | |
| 1394 | void cheat_instaDeath() |
| 1395 | { |
| 1396 | // This way if we already had one-hit-kill enabled, we don't end |
| 1397 | // up with one-hit kill off and insta-death on - though if the |
| 1398 | // player wants that to happen, they can type LA_IMDEATH again |
| 1399 | // after using this cheat. |
| 1400 | s_instaDeathEnabled = ~s_instaDeathEnabled; |
| 1401 | const char* msg = TFE_System::getMessage(TFE_MSG_HARDCORE); |
| 1402 | if (msg) { hud_sendTextMessage(msg, 1); } |
| 1403 | } |
| 1404 | |
| 1405 | void player_setupCamera() |
| 1406 | { |
no test coverage detected