]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - protocol.c
fix parser bug that read scale into alpha in PROTOCOL_DARKPLACES5
[xonotic/darkplaces.git] / protocol.c
index 72870b34f993215e813dce91c2bcd8d741012200..0fe0cc0e9528b503535abae03bbcf55b4f7b29ef 100644 (file)
@@ -1584,7 +1584,7 @@ void EntityState5_ReadUpdate(entity_state_t *s)
        if (bits & E5_ALPHA)
                s->alpha = MSG_ReadByte();
        if (bits & E5_SCALE)
-               s->alpha = MSG_ReadByte();
+               s->scale = MSG_ReadByte();
        if (bits & E5_COLORMAP)
                s->colormap = MSG_ReadByte();
        if (bits & E5_ATTACHMENT)