summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 394c23a)
raw | patch | inline | side by side (parent: 394c23a)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Thu, 27 Feb 2020 22:50:24 +0000 (01:50 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Thu, 27 Feb 2020 22:50:24 +0000 (01:50 +0300) |
src/game/g_game.pas | patch | blob | history | |
src/game/g_menu.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index f8cb3975b6472e7babdae2a39a11705ac0710e19..bc645b0a57fd12de70a6888d4e8c4c32ec9c52fd 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
gGameSettings.Options := gGameSettings.Options + GAME_OPTION_BOTVSMONSTER;
gSwitchGameMode := GM_SINGLE;
+ gLMSRespawn := LMS_RESPAWN_NONE;
+ gLMSRespawnTime := 0;
+ gSpectLatchPID1 := 0;
+ gSpectLatchPID2 := 0;
+
g_Game_ExecuteEvent('ongamestart');
// Óñòàíîâêà ðàçìåðîâ îêîí èãðîêîâ:
gAimLine := False;
gShowMap := False;
+ gLMSRespawn := LMS_RESPAWN_NONE;
+ gLMSRespawnTime := 0;
+ gSpectLatchPID1 := 0;
+ gSpectLatchPID2 := 0;
+
g_Game_ExecuteEvent('ongamestart');
// Óñòàíîâêà ðàçìåðîâ îêîí èãðîêîâ:
gAimLine := False;
gShowMap := False;
+ gLMSRespawn := LMS_RESPAWN_NONE;
+ gLMSRespawnTime := 0;
+ gSpectLatchPID1 := 0;
+ gSpectLatchPID2 := 0;
+
g_Game_ExecuteEvent('ongamestart');
// Óñòàíîâêà ðàçìåðîâ îêíà èãðîêà
diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas
index b29a5137c4ff173c7e67b41bac7359d980736c76..d409cc6f484bcb9974ec707452c7ea19b3fc9cc2 100644 (file)
--- a/src/game/g_menu.pas
+++ b/src/game/g_menu.pas
else gsGameFlags := gsGameFlags or GAME_OPTION_BOTVSPLAYER;
end;
- gGameSettings.ItemRespawnTime := gsItemRespawnTime; // TODO: get this crap out of here
+ // TODO: get this crap out of here
+ gGameSettings.ItemRespawnTime := gsItemRespawnTime;
+ gGameSettings.WarmupTime := gsWarmupTime;
+ gGameSettings.SpawnInvul := gsSpawnInvul;
end;
end;