X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fnexball.qc;h=a068a33a54e236017194c3ec5ac05e5caa0b9df1;hb=a4507f589e7a11838a63576e69b5789cb97d6815;hp=3aa65f6f5aeda2f0ef6ee6f03c6180520fb64848;hpb=80cd34d0a48e975018605aabebacba50e8029585;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/nexball.qc b/qcsrc/server/nexball.qc index 3aa65f6f5a..a068a33a54 100644 --- a/qcsrc/server/nexball.qc +++ b/qcsrc/server/nexball.qc @@ -79,7 +79,7 @@ void ball_restart (void) void nexball_setstatus (void) { - local entity oldself; + entity oldself; self.items &~= IT_KEY1; if (self.ballcarried) { @@ -118,7 +118,7 @@ void football_touch(); void DropOwner (void) { - local entity ownr; + entity ownr; ownr = self.owner; DropBall(self, ownr.origin, ownr.velocity); makevectors(ownr.v_angle_y * '0 1 0'); @@ -128,7 +128,7 @@ void DropOwner (void) void GiveBall (entity plyr, entity ball) { - local entity ownr; + entity ownr; if ((ownr = ball.owner)) { @@ -407,14 +407,14 @@ void spawnfunc_nexball_team (void) void nb_spawnteam (string teamname, float teamcolor) { dprint("^2spawned team ", teamname, "\n"); - local entity e; + entity e; e = spawn(); e.classname = "nexball_team"; e.netname = teamname; e.cnt = teamcolor; e.team = e.cnt + 1; nb_teams += 1; -}; +} void nb_spawnteams (void) { @@ -592,7 +592,7 @@ void spawnfunc_ball_bound (void) { spawnfunc_nexball_out(); } void W_Nexball_Touch (void) { - local entity ball, attacker; + entity ball, attacker; attacker = self.owner; PROJECTILE_TOUCH; @@ -621,8 +621,8 @@ void W_Nexball_Touch (void) void W_Nexball_Attack (float t) { - local entity ball; - local float mul, mi, ma; + entity ball; + float mul, mi, ma; if (!(ball = self.ballcarried)) return; @@ -654,7 +654,7 @@ void W_Nexball_Attack (float t) void W_Nexball_Attack2 (void) { - local entity missile; + entity missile; if (!(balls & BALL_BASKET)) return; W_SetupShot (self, FALSE, 2, "nexball/shoot2.wav", CH_WEAPON_A, 0);