]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix an oddity pointed out by TimePath
authorMario <zacjardine@y7mail.com>
Wed, 4 Mar 2015 02:06:35 +0000 (13:06 +1100)
committerMario <zacjardine@y7mail.com>
Wed, 4 Mar 2015 02:06:35 +0000 (13:06 +1100)
qcsrc/common/vehicles/unit/racer.qc

index 5f6934298aed7bb4907877cfb7c6733c84da1c80..169d70b6491a02176ad097a47abe9849be4192b9 100644 (file)
@@ -277,7 +277,7 @@ void racer_rocket_tracker()
 void racer_fire_rocket(string tagname, entity trg)
 {
        vector v = gettaginfo(self, gettagindex(self, tagname));
-       entity rocket = rocket = vehicles_projectile("wakizashi_rocket_launch", W_Sound("rocket_fire"),
+       entity rocket = vehicles_projectile("wakizashi_rocket_launch", W_Sound("rocket_fire"),
                                                   v, v_forward * autocvar_g_vehicle_racer_rocket_speed,
                                                   autocvar_g_vehicle_racer_rocket_damage, autocvar_g_vehicle_racer_rocket_radius, autocvar_g_vehicle_racer_rocket_force, 3,
                                                   DEATH_VH_WAKI_ROCKET, PROJECTILE_WAKIROCKET, 20, false, false, self.owner);