derhass reported that using demo content allows the user to select non-demo weapons, which then render incorrectly. derhass observed the problem when the game automatically changed weapons, but affected users can also select the missing weapon by hand. Demo data sets non-demo weapons to have zero ammo_usage, so a player has "enough" rounds even when he has none. Past releases blocked this through the dedicated secondary_weapon_flags field. Add an explicit check for non-zero ammo. Reported-by: derhass <https://github.com/dxx-rebirth/dxx-rebirth/issues/165> |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |