mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fix ammo bits being incorrect
This commit is contained in:
parent
be1ef1de0e
commit
0b34d2dbb8
1 changed files with 1 additions and 1 deletions
|
@ -3410,7 +3410,7 @@ void MSG_WriteDeltaPlayerstate(msg_t *msg, struct playerState_s *from, struct pl
|
|||
}
|
||||
}
|
||||
ammobits = 0;
|
||||
for (i=0 ; i<MAX_WEAPONS ; i++) {
|
||||
for (i=0 ; i<MAX_AMMO ; i++) {
|
||||
if (to->ammo_name_index[i] != from->ammo_name_index[i]) {
|
||||
ammobits |= 1<<i;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue