*Replace a ton of switches with RAND(), and overload RAND() to support up to 16 parameters.
*Add a safety check to prevent knocking players off of transports, just in case they die while on one. *Fix a couple incorrect spell defines. --HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -4461,7 +4461,7 @@ bool Player::FallGround(bool noDeath/* = false*/)
|
||||
|
||||
void Player::KillPlayer()
|
||||
{
|
||||
if(IsFlying()) FallGround();
|
||||
if(IsFlying() && !GetTransport()) FallGround();
|
||||
|
||||
SetMovement(MOVE_ROOT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user