michael-fadely / sa2-battle-network

Online multiplayer for Sonic Adventure 2 PC
MIT License
31 stars 1 forks source link

Damage, Hurt and Kill sent in wrong order #33

Closed michael-fadely closed 8 years ago

michael-fadely commented 8 years ago

The return value of DamagePlayer must be 1 for a damage message to be sent, but it calls HurtPlayer which can call KillPlayer. Consequently, the request order is Hurt -> [Kill] -> Damage, and the desired order is Damage -> Hurt -> [Kill].