From: Martin Taibr Date: Mon, 26 Aug 2019 18:28:25 +0000 (+0200) Subject: remove te_lightning2 from kh to see if the crashing goes away X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dea08327b099f34d42f2da3ea212283fa52b5eea;p=xonotic%2Fxonotic-data.pk3dir.git remove te_lightning2 from kh to see if the crashing goes away --- 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