Open FreeSlave opened 2 years ago
The bahavior is observed in original Half-Life too. To reproduce:
tempdecals.wad
decals.wad
The problem is that decal is set to -1 on spawn https://github.com/FWGS/hlsdk-xash3d/blob/master/dlls/client.cpp#L198 https://github.com/FWGS/hlsdk-xash3d/blob/master/dlls/player.cpp#L4418 but after save-restore m_nCustomSprayFrames is set to 0.
m_nCustomSprayFrames
Not sure how we should fix it if fix at all. Creating the issue just to let people know about the problem.
I assume this is consistent with steam half-life?
Yep, by original Half-Life I meant the current steam version.
The bahavior is observed in original Half-Life too. To reproduce:
tempdecals.wad
to ensure that you don't have a spray from multiplayer settings.decals.wad
will appear.The problem is that decal is set to -1 on spawn https://github.com/FWGS/hlsdk-xash3d/blob/master/dlls/client.cpp#L198 https://github.com/FWGS/hlsdk-xash3d/blob/master/dlls/player.cpp#L4418 but after save-restore
m_nCustomSprayFrames
is set to 0.Not sure how we should fix it if fix at all. Creating the issue just to let people know about the problem.