X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fnexball%2Fsv_nexball.qc;h=2796f2b499fca0d1cecd8ca11c38bea3a5ca2251;hb=0514f7948727cfa572b33bd29d1bdf2c13cd866d;hp=38b7a7f53021fa74886a29bded80cdebbb435725;hpb=761fb981d742f869d7057a3bb7e3369329fdbe18;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/gamemodes/gamemode/nexball/sv_nexball.qc b/qcsrc/common/gamemodes/gamemode/nexball/sv_nexball.qc index 38b7a7f53..2796f2b49 100644 --- a/qcsrc/common/gamemodes/gamemode/nexball/sv_nexball.qc +++ b/qcsrc/common/gamemodes/gamemode/nexball/sv_nexball.qc @@ -1,5 +1,13 @@ #include "sv_nexball.qh" +#include +#include +#include +#include +#include +#include +#include + .entity ballcarried; int autocvar_g_nexball_goalleadlimit; @@ -574,7 +582,6 @@ void SpawnBall(entity this) spawnfunc(nexball_basketball) { nexball_mode |= NBM_BASKETBALL; - this.classname = "nexball_basketball"; if (!(balls & BALL_BASKET)) { /* @@ -598,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; @@ -951,7 +957,7 @@ REGISTER_MUTATOR(nb, false) CVTOV(g_nexball_delay_idle); //10 CVTOV(g_nexball_football_physics); //0 */ - radar_showennemies = autocvar_g_nexball_radar_showallplayers; + radar_showenemies = autocvar_g_nexball_radar_showallplayers; InitializeEntity(NULL, nb_delayedinit, INITPRIO_GAMETYPE); WEP_NEXBALL.spawnflags &= ~WEP_FLAG_MUTATORBLOCKED;