From 47ba05f5d486534ec2789cd0818e9a11e2fe2b34 Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 31 Oct 2009 04:31:53 -0700 Subject: [PATCH] *Partial backout of 6f77c852bd4a --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 18085fe8f5a..1ca70e1f7ae 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -21975,7 +21975,7 @@ void Player::_SaveTalents() if (itr->second->state == PLAYERSPELL_REMOVED) { delete itr->second; - m_talents[i]->erase(itr); + m_talents[i]->erase(itr++); } else {