summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8d5eec2)
raw | patch | inline | side by side (parent: 8d5eec2)
author | Stas'M <x86corez@gmail.com> | |
Wed, 22 Apr 2020 21:38:31 +0000 (00:38 +0300) | ||
committer | Stas'M <x86corez@gmail.com> | |
Wed, 22 Apr 2020 21:38:31 +0000 (00:38 +0300) |
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 7da95bf0499b2c8b41abe7759460351c2c931314..9112b7f9eb91eb0b6e49942a72038f800961d8d6 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
g_Game_Free();
with gGameSettings do
begin
+ Options := gsGameFlags;
GameMode := g_Game_TextToMode(gsGameMode);
if gSwitchGameMode <> GM_NONE then
GameMode := gSwitchGameMode;
g_Game_Free();
with gGameSettings do
begin
+ Options := gsGameFlags;
GameMode := g_Game_TextToMode(gsGameMode);
if gSwitchGameMode <> GM_NONE then GameMode := gSwitchGameMode;
if GameMode = GM_NONE then GameMode := GM_DM;
// Options:
s := Find_Param_Value(pars, '-opt');
if (s = '') then
- Opt := GAME_OPTION_ALLOWEXIT or GAME_OPTION_BOTVSPLAYER or
- GAME_OPTION_BOTVSMONSTER or GAME_OPTION_DMKEYS
+ Opt := gsGameFlags
else
Opt := StrToIntDef(s, 0);