Skip to content
Snippets Groups Projects
  • Kahrl's avatar
    88cdd3a3
    Players stay in environment even when dead, damage flash and fall damage fixes · 88cdd3a3
    Kahrl authored
    Don't set m_removed on dead players (dead players are indicated by hp == 0). Local
    damage flash is shown whatever the cause was (even from Lua set_hp). PlayerCAO
    damage flash matches duration of local damage flash. Fall damage is dealt much more consistently (this is done by disallowing jumping when speed.Y is very negative, up to now jumping could sometimes negate fall damage)
    88cdd3a3
    History
    Players stay in environment even when dead, damage flash and fall damage fixes
    Kahrl authored
    Don't set m_removed on dead players (dead players are indicated by hp == 0). Local
    damage flash is shown whatever the cause was (even from Lua set_hp). PlayerCAO
    damage flash matches duration of local damage flash. Fall damage is dealt much more consistently (this is done by disallowing jumping when speed.Y is very negative, up to now jumping could sometimes negate fall damage)