From f5b2f43e76a4e1d33a228f99ccd67dbe13c4f581 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Mar 2017 20:40:25 +1000 Subject: [PATCH] Add skin support to client models --- qcsrc/client/wall.qc | 1 + qcsrc/server/g_models.qc | 1 + 2 files changed, 2 insertions(+) diff --git a/qcsrc/client/wall.qc b/qcsrc/client/wall.qc index 64916ad8c..7a31265db 100644 --- a/qcsrc/client/wall.qc +++ b/qcsrc/client/wall.qc @@ -136,6 +136,7 @@ NET_HANDLE(ENT_CLIENT_WALL, bool isnew) this.colormap = ReadShort(); else this.colormap = 0; + this.skin = ReadByte(); } if(f & 2) diff --git a/qcsrc/server/g_models.qc b/qcsrc/server/g_models.qc index 3ca062b78..d3f56f5f0 100644 --- a/qcsrc/server/g_models.qc +++ b/qcsrc/server/g_models.qc @@ -99,6 +99,7 @@ bool g_clientmodel_genericsendentity(entity this, entity to, int sf) { if(sf & 0x40) WriteShort(MSG_ENTITY, this.colormap); + WriteByte(MSG_ENTITY, this.skin); } if(sf & BIT(1)) -- 2.39.2