]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a couple of wrong type fields
authorMario <zacjardine@y7mail.com>
Tue, 18 Sep 2018 01:56:31 +0000 (11:56 +1000)
committerMario <zacjardine@y7mail.com>
Tue, 18 Sep 2018 01:56:31 +0000 (11:56 +1000)
qcsrc/common/monsters/sv_monsters.qc
qcsrc/server/client.qh

index 84355c7f3530ffddcf3dccde86781d487c7fd717..f30c5974a0ba6d1085fc57e576e7de66404aee92 100644 (file)
@@ -695,7 +695,6 @@ void Monster_CalculateVelocity(entity this, vector to, vector from, float turnra
 }
 
 .entity draggedby;
-.entity target2;
 
 void Monster_Move(entity this, float runspeed, float walkspeed, float stpspeed)
 {
index 099fac9f541f5ae71358f2fad6f2e0894a978e14..26388e7b37e417cab785c318673ffec45462c6a5 100644 (file)
@@ -17,7 +17,7 @@ CLASS(Client, Object)
     /** Client IP */
     ATTRIB(Client, netaddress, string, this.netaddress);
     ATTRIB(Client, playermodel, string, this.playermodel);
-    ATTRIB(Client, playerskin, int, this.playerskin);
+    ATTRIB(Client, playerskin, string, this.playerskin);
 
     /** fingerprint of CA key the player used to authenticate */
     ATTRIB(Client, crypto_keyfp, string, this.crypto_keyfp);