From: Mario Date: Tue, 18 Sep 2018 01:56:31 +0000 (+1000) Subject: Fix a couple of wrong type fields X-Git-Tag: xonotic-v0.8.5~1850 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=38c06c5268cda2d14394f627a93f7fb0b7811725;p=xonotic%2Fxonotic-data.pk3dir.git Fix a couple of wrong type fields --- diff --git a/qcsrc/common/monsters/sv_monsters.qc b/qcsrc/common/monsters/sv_monsters.qc index 84355c7f3..f30c5974a 100644 --- a/qcsrc/common/monsters/sv_monsters.qc +++ b/qcsrc/common/monsters/sv_monsters.qc @@ -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) { diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 099fac9f5..26388e7b3 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -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);