]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a silly mistake
authorMario <zacjardine@y7mail.com>
Fri, 6 Feb 2015 08:42:37 +0000 (19:42 +1100)
committerMario <zacjardine@y7mail.com>
Fri, 6 Feb 2015 08:42:37 +0000 (19:42 +1100)
qcsrc/client/main.qc
qcsrc/server/mutators/mutator_dodging.qc

index fce3d1071e74f484b265374de617fca040e69436..49bdaa0b16298e212d55efdd522e9e91eae6faaa 100644 (file)
@@ -1197,6 +1197,8 @@ void Ent_Init()
 
        sv_announcer = strzone(ReadString());
 
+       //sv_banner = strzone(ReadString());
+
        if(sv_announcer != "") { Announcer_Precache(); }
 
        if(!postinit)
index 1e88634d455a13b65d2599cba164548b9a7b9483..cfe1e34ae15a4748c009200d2daf2d75f9e5970e 100644 (file)
@@ -94,7 +94,6 @@ MUTATOR_HOOKFUNCTION(dodging_PlayerPhysics) {
                if (self.movement_z > 0) self.movement_z = 0;
 
                self.velocity +=
-                         self.velocity
                        + ((self.dodging_direction_y * velocity_difference) * v_right)
                        + ((self.dodging_direction_x * velocity_difference) * v_forward);