diff options
author | n0n4m3 <none@none> | 2009-12-17 06:49:36 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-17 06:49:36 +0100 |
commit | 365f0ae5626f86e5a8b38b45cb2a9bdb95d6d7ad (patch) | |
tree | 03b7e236a73e6b8b4cb617861b602e7e2ed3f058 /src/game/Player.cpp | |
parent | 3e03b0aa2d7b369d7e12a9bcee81e421735c4dac (diff) |
Replace some assert with return statement, fixed some crash bugs
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index d0b1a25f192..eae3418a0d7 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -1148,7 +1148,7 @@ void Player::Update( uint32 p_time ) //sLog.outCrash("Player has m_pad %u during update!", m_pad); //if(m_spellModTakingSpell) sLog.outCrash("Player has m_spellModTakingSpell %u during update!", m_spellModTakingSpell->m_spellInfo->Id); - assert(false); + return; m_spellModTakingSpell = NULL; } |