X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame%2Fg_game.pas;h=0395bf4c9f05bae2fc2a68023d795d51d2867c05;hb=0b34f8195a84d9aecc7cd9f17fd1902b7723e3b8;hp=feaf1591041441ee1e22591c3d7d371bf5fc361b;hpb=c3750b33c7c32ef74637ae0f6be98974af391ab9;p=d2df-sdl.git diff --git a/src/game/g_game.pas b/src/game/g_game.pas index feaf159..0395bf4 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -180,7 +180,6 @@ const GAME_OPTION_BOTVSPLAYER = 32; GAME_OPTION_BOTVSMONSTER = 64; GAME_OPTION_DMKEYS = 128; - GAME_OPTION_RESPAWNITEMS = 256; STATE_NONE = 0; STATE_MENU = 1; @@ -5557,27 +5556,6 @@ begin if g_Game_IsNet then MH_SEND_GameSettings; end; end - else if (cmd = 'g_respawn_items') and not g_Game_IsClient then - begin - with gGameSettings do - begin - if (Length(P) > 1) and - ((P[1] = '1') or (P[1] = '0')) then - begin - if (P[1][1] = '1') then - Options := Options or GAME_OPTION_RESPAWNITEMS - else - Options := Options and (not GAME_OPTION_RESPAWNITEMS); - end; - - if (LongBool(Options and GAME_OPTION_RESPAWNITEMS)) then - g_Console_Add(_lc[I_MSG_RESPAWNITEMS_ON]) - else - g_Console_Add(_lc[I_MSG_RESPAWNITEMS_OFF]); - - if g_Game_IsNet then MH_SEND_GameSettings; - end; - end else if (cmd = 'g_warmuptime') and not g_Game_IsClient then begin if Length(P) > 1 then