]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/casings.qc
gmqcc has vector bit operations now. Switch to using them.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / casings.qc
index 70ed9f4b07d74b597a39d67968bf99bdba7cd807..2225c0f35260d6ac88320cc2027939d4ba5d528e 100644 (file)
@@ -11,7 +11,7 @@ void Casing_Draw()
        {
                self.move_angles_x = 0;
                self.move_angles_z = 0;
-               self.flags &~= FL_ONGROUND;
+               self.flags &= ~FL_ONGROUND;
        }
 
        Movetype_Physics_MatchTicrate(autocvar_cl_casings_ticrate, autocvar_cl_casings_sloppy);
@@ -57,7 +57,7 @@ void Casing_Touch()
                                                break;
                                }
 
-                               sound (self, CH_SHOTS, s, VOL_BASE, ATTN_LARGE);
+                               sound (self, CH_SHOTS, s, VOL_BASE, ATTEN_LARGE);
                        }
                }
        }
@@ -70,7 +70,7 @@ void Casing_Damage(float thisdmg, float hittype, vector org, vector thisforce)
        if(thisforce_z < 0)
                thisforce_z = 0;
        self.move_velocity = self.move_velocity + thisforce + '0 0 100';
-       self.move_flags &~= FL_ONGROUND;
+       self.move_flags &= ~FL_ONGROUND;
 }
 
 void Ent_Casing(float isNew)