From dea08327b099f34d42f2da3ea212283fa52b5eea Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Mon, 26 Aug 2019 20:28:25 +0200 Subject: [PATCH] remove te_lightning2 from kh to see if the crashing goes away --- qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc b/qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc index 21d9208bf..4481cf669 100644 --- a/qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc +++ b/qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc @@ -541,7 +541,9 @@ void kh_WinnerTeam(int winner_team) // runs when a team wins midpoint += thisorigin; if(!first) - te_lightning2(NULL, lastorigin, thisorigin); + { + //te_lightning2(NULL, lastorigin, thisorigin); + } lastorigin = thisorigin; if(first) firstorigin = thisorigin; @@ -549,7 +551,7 @@ void kh_WinnerTeam(int winner_team) // runs when a team wins } if(NumTeams(kh_teams) > 2) { - te_lightning2(NULL, lastorigin, firstorigin); + //te_lightning2(NULL, lastorigin, firstorigin); } midpoint = midpoint * (1 / NumTeams(kh_teams)); te_customflash(midpoint, 1000, 1, Team_ColorRGB(winner_team) * 0.5 + '0.5 0.5 0.5'); // make the color >=0.5 in each component -- 2.39.2