(In reply to comment #0)
> When I use a trigger_heal with a negative heal value and when the player health
> reach 0, the map break with this message:
> clientSpawn: spawn is null
>
Related to bug 2732 ?
(In reply to comment #1)
> Related to bug 2732 ?
Yes, it seems that if a player's death is discovered in ClientThink_real() as opposed to the normal way in G_Damage(), then it calls respawn() on them
immediately instead of calling player_die() and placing them in the respawn
queue.
It seems the proper fix would be to call player_die() from ClientThink_real() instead. Or at a bare minimum just set the client's pers.classSelection to
PCL_NONE so that they spawn normally.
There is also a similar respawn() call done at the start of intermission
which I think is probably causing my bug 2732.
This is going to be hard for me to to reproduce/test. Can you provide the
map that does the negative tigger_hurt so I can test that way?
Fixed the negative damage thing. I think we should keep dicussion of the "spawn is NULL" bug to the other bug, though this is perhaps a good way of reproducing it.
Created attachment 940 [details] don't let trigger_heal have a negative value untested, but seems straight forward.