X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_map.pas;h=722bd9bb1cdc2a8cf6625a9399795176a29979ea;hp=f87e6b7ef8f42454a0e464d07f18adbb738a08d9;hb=HEAD;hpb=67d37ea13feeca0671d60d88b1963cf1e0e901c4 diff --git a/src/game/g_map.pas b/src/game/g_map.pas index f87e6b7..722bd9b 100644 --- a/src/game/g_map.pas +++ b/src/game/g_map.pas @@ -1478,7 +1478,7 @@ begin if g_Game_IsClient then Exit; if (gGameSettings.GameType = GT_SINGLE) - or LongBool(gGameSettings.Options and GAME_OPTION_MONSTERS) then + or (TGameOption.MONSTERS in gGameSettings.Options) then begin mon := g_Monsters_Create(monster.MonsterType, monster.X, monster.Y, TDirection(monster.Direction));