]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/nexball/sv_nexball.qc
Tidy up classnames
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / nexball / sv_nexball.qc
index ba5911272cd99165fdab3eba8fe352416d4e8602..2796f2b499fca0d1cecd8ca11c38bea3a5ca2251 100644 (file)
@@ -3,8 +3,10 @@
 #include <server/client.qh>
 #include <server/command/vote.qh>
 #include <server/gamelog.qh>
+#include <server/world.qh>
 #include <common/ent_cs.qh>
 #include <common/mapobjects/triggers.qh>
+#include <common/mutators/base.qh>
 
 .entity ballcarried;
 
@@ -580,7 +582,6 @@ void SpawnBall(entity this)
 spawnfunc(nexball_basketball)
 {
        nexball_mode |= NBM_BASKETBALL;
-       this.classname = "nexball_basketball";
        if (!(balls & BALL_BASKET))
        {
                /*
@@ -604,7 +605,6 @@ spawnfunc(nexball_basketball)
 spawnfunc(nexball_football)
 {
        nexball_mode |= NBM_FOOTBALL;
-       this.classname = "nexball_football";
        this.solid = SOLID_TRIGGER;
        balls |= BALL_FOOT;
        this.pushable = autocvar_g_nexball_football_jumppad;