GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cheats are active in single/coop now ('cause Wyoming Knotts, you know)
[d2df-sdl.git]
/
src
/
game
/
g_player.pas
diff --git
a/src/game/g_player.pas
b/src/game/g_player.pas
index e6e0d360227097ccb7a83698395ab0cf4777ca3f..4b0bffce46977c3e721a484dd314fb764ceff52a 100644
(file)
--- a/
src/game/g_player.pas
+++ b/
src/game/g_player.pas
@@
-3661,7
+3661,7
@@
function TPlayer.PickItem(ItemType: Byte; arespawn: Boolean; var remove: Boolean
if (FBFGFireCounter <> -1) then begin result := false; exit; end;
result := true;
if gBerserkAutoswitch then exit;
- if not
(gDebugMode or gCheats)
then exit;
+ if not
conIsCheatsEnabled
then exit;
result := false;
end;
DEADSOFTWARE 2012-2025