You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that vehicles with engine turned off would not display engine fire when they take damage. Though this may have been a desired effect, it makes no sense from the player's perspective and definitely feels like a bug.
Repo steps:
On server have a client drive a truck to random location and turn off engine
Shoot the truck in the engine until it blows up, it won't ever display the engine fire
The problem:
There is nothing to tell the client to display the fire effects when the engine is turned off. I think a very simple solution is to have a check in PostNetReceive() to check if the fire effect is not displaying and if the engine health is <= 0.
The text was updated successfully, but these errors were encountered:
1) Fix for #937 (tested in MP and fix confirmed)
2) Added prevention for server to be running TakeDamage() on already dead vehicles (this should hopefully not cause issues and optimize things)
3) Added prevention for server to be calling SetEngine() if the engine is already dead and burning (not really needed because of #2, but left in just in case)
Hopefully no issues arise because of #2 and #3
I noticed that vehicles with engine turned off would not display engine fire when they take damage. Though this may have been a desired effect, it makes no sense from the player's perspective and definitely feels like a bug.
Repo steps:
The problem:
There is nothing to tell the client to display the fire effects when the engine is turned off. I think a very simple solution is to have a check in PostNetReceive() to check if the fire effect is not displaying and if the engine health is <= 0.
The text was updated successfully, but these errors were encountered: