]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/tturrets.qc
Declare more ints as ints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / tturrets.qc
index 9dbecd3844b9cc53c95632261d9d5b939f7cfb05..50a39b684f19ba5112e5069b45ddc5151827d297 100644 (file)
@@ -668,8 +668,7 @@ void ent_turret()
 
     if(sf & TNSF_STATUS)
     {
-        float _tmp;
-        _tmp = ReadByte();
+        int _tmp = ReadByte();
         if(_tmp != self.team)
         {
             self.team = _tmp;