Jump to content

Death Bug


Guest Tyranus
 Share

Recommended Posts

Apply manually in src/game/Player.cpp

    {
        RegenerateAll();
    }
-
+    if (!isAlive() && !HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST))
+    {
+        SetHealth(0);
+    }
    if (m_deathState == JUST_DIED)
    {
        KillPlayer();

here works perfectly

I'm having some bugs when a player leaves one dead in Arena, he can not revive when it is teleported out.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...
  • 2 weeks later...
  • 3 weeks later...
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use