From 400169ef5e6c434716654e0773d89062d05c4fdf Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 27 Jul 2020 18:02:39 +0200 Subject: [PATCH] - do not activate the inventory when giving all items. Fixes #45 --- source/games/duke/src/cheats.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/games/duke/src/cheats.cpp b/source/games/duke/src/cheats.cpp index 194c2efec..235bf505d 100644 --- a/source/games/duke/src/cheats.cpp +++ b/source/games/duke/src/cheats.cpp @@ -90,7 +90,6 @@ bool cheatInventory(cheatseq_t *s) invGet(2400, EVENT_CHEATGETHOLODUKE, ps[myconnectindex].holoduke_amount); invGet(isRR() ? 600 : 1600, EVENT_CHEATGETJETPACK, ps[myconnectindex].jetpack_amount); invGet(max_player_health, EVENT_CHEATGETFIRSTAID, ps[myconnectindex].firstaid_amount); - if (ps[myconnectindex].inven_icon == ICON_NONE) C_DoCommand("invnext"); if (s) FTA(120,&ps[myconnectindex]); return true; }