-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
Description
Is it a bug that here weapon
is an int
:
Daemon/src/engine/qcommon/q_shared.h
Line 1829 in 393e182
int weapon; // copied to entityState_t->weapon |
but here it's a byte
:
Daemon/src/engine/qcommon/q_shared.h
Line 1921 in 393e182
byte weapon; |
and it seems to be copied with an 8
length here:
Daemon/src/engine/qcommon/msg.cpp
Line 768 in 393e182
to->weapon = MSG_ReadDelta( msg, from->weapon, 8 ); |
and here:
Daemon/src/engine/qcommon/msg.cpp
Line 727 in 393e182
MSG_WriteDelta( msg, from->weapon, to->weapon, 8 ); |
or do I miss something?