mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
[nq] Update weapon model for SU_WEAPON2
This fixes the missing view weapon in vulkan and crashes in other renderers when playing Conflagrant Rodent.
This commit is contained in:
parent
7abdfc421e
commit
cfe7064708
1 changed files with 3 additions and 1 deletions
|
@ -655,8 +655,10 @@ CL_ParseClientdata (void)
|
|||
}
|
||||
}
|
||||
|
||||
if (bits & SU_WEAPON2)
|
||||
if (bits & SU_WEAPON2) {
|
||||
cl.stats[STAT_WEAPON] |= MSG_ReadByte (net_message) << 8;
|
||||
cl.viewstate.weapon_model = cl_world.models.a[cl.stats[STAT_WEAPON]];
|
||||
}
|
||||
if (bits & SU_ARMOR2)
|
||||
cl.stats[STAT_ARMOR] |= MSG_ReadByte (net_message) << 8;
|
||||
if (bits & SU_AMMO2)
|
||||
|
|
Loading…
Reference in a new issue