From: TerminalHash Date: Thu, 7 Sep 2023 22:44:55 +0000 (+0300) Subject: game: turn off debug log for randomization X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=4e8250f5f1da2e651513065f6ce44921e80dbd0c;p=d2df-sdl.git game: turn off debug log for randomization --- diff --git a/src/game/g_items.pas b/src/game/g_items.pas index 92bfca2..4337fff 100644 --- a/src/game/g_items.pas +++ b/src/game/g_items.pas @@ -758,7 +758,7 @@ begin ITEM_INVIS, ITEM_MEDKIT_BLACK, ITEM_JETPACK, ITEM_SUIT] then begin ggItems[ID].RespawnTime := Max(1, (gGameSettings.RulezRespawnTime + RandomRange(-gGameSettings.RulezRespawnRandom, gGameSettings.RulezRespawnRandom + 1)) * 36); - e_logwritefln ('Randomized rulez time: %s', [ggItems[ID].RespawnTime]); + //e_logwritefln ('Randomized rulez time: %s', [ggItems[ID].RespawnTime]); end; end; @@ -777,7 +777,7 @@ begin ITEM_WEAPON_FLAMETHROWER] then begin ggItems[ID].RespawnTime := Max(1, (gGameSettings.ItemRespawnTime + RandomRange(-gGameSettings.ItemRespawnRandom, gGameSettings.ItemRespawnRandom + 1)) * 36); - e_logwritefln ('Randomized item time: %s', [ggItems[ID].RespawnTime]); + //e_logwritefln ('Randomized item time: %s', [ggItems[ID].RespawnTime]); end; end; @@ -789,7 +789,7 @@ begin ITEM_AMMO_BACKPACK] then begin ggItems[ID].RespawnTime := Max(1, (gGameSettings.ItemRespawnTime + RandomRange(-gGameSettings.ItemRespawnRandom, gGameSettings.ItemRespawnRandom + 1)) * 36); - e_logwritefln ('Randomized help item time: %s', [ggItems[ID].RespawnTime]); + //e_logwritefln ('Randomized help item time: %s', [ggItems[ID].RespawnTime]); end; end; @@ -801,7 +801,7 @@ begin ITEM_AMMO_CELL, ITEM_AMMO_CELL_BIG, ITEM_AMMO_FUELCAN] then begin ggItems[ID].RespawnTime := Max(1, (gGameSettings.ItemRespawnTime + RandomRange(-gGameSettings.ItemRespawnRandom, gGameSettings.ItemRespawnRandom + 1)) * 36); - e_logwritefln ('Randomized ammo time: %s', [ggItems[ID].RespawnTime]); + //e_logwritefln ('Randomized ammo time: %s', [ggItems[ID].RespawnTime]); end; end; @@ -813,7 +813,7 @@ begin ITEM_WEAPON_BFG, ITEM_WEAPON_SUPERPULEMET, ITEM_WEAPON_FLAMETHROWER] then begin ggItems[ID].RespawnTime := Max(1, (gGameSettings.ItemRespawnTime + RandomRange(-gGameSettings.ItemRespawnRandom, gGameSettings.ItemRespawnRandom + 1)) * 36); - e_logwritefln ('Randomized weapons time: %s', [ggItems[ID].RespawnTime]); + //e_logwritefln ('Randomized weapons time: %s', [ggItems[ID].RespawnTime]); end; end; end;