Update weapon skin with CSQC
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / wepent.qc
index 9193c4e..38ef3bd 100644 (file)
@@ -74,6 +74,10 @@ MACRO_END
        { WriteShort(chan, this.clip_size); }, \
        { (viewmodels[this.m_wepent_slot]).clip_size = ReadShort(); }) \
     \
+    PROP(false, skin, WEPENT_SET_NORMAL, \
+       { WriteShort(chan, this.skin); }, \
+       { (viewmodels[this.m_wepent_slot]).m_skin = ReadShort(); }) \
+    \
        /**/
 
 #ifdef SVQC