From 8e199f361385dcd993117e6fb3b4e4fea0b22182 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 17 Sep 2004 00:32:25 +0000 Subject: [PATCH] fix parser bug that read scale into alpha in PROTOCOL_DARKPLACES5 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4508 d7cf8633-e32d-0410-b094-e92efae38249 --- protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol.c b/protocol.c index 72870b34..0fe0cc0e 100644 --- a/protocol.c +++ b/protocol.c @@ -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) -- 2.39.2