]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove te_lightning2 from kh to see if the crashing goes away
authorMartin Taibr <taibr.martin@gmail.com>
Mon, 26 Aug 2019 18:28:25 +0000 (20:28 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Mon, 26 Aug 2019 18:28:25 +0000 (20:28 +0200)
qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc

index 21d9208bf96b74746cbb7f35c074b2a5f228ad27..4481cf669a23b170060dd35a9577bf24ad1e902b 100644 (file)
@@ -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