[7733] Fixed compile error on VC2005ee.

This commit is contained in:
AlexDereka 2009-04-29 15:27:50 +04:00
parent cb72302a8a
commit 6192fcbd0c
4 changed files with 5 additions and 5 deletions

View file

@ -436,9 +436,9 @@ void Transport::TeleportTransport(uint32 newMapid, float x, float y, float z)
SetMapId(newMapid);
Relocate(x, y, z);
for(PlayerSet::const_iterator itr = m_passengers.begin(); itr != m_passengers.end();)
for(PlayerSet::iterator itr = m_passengers.begin(); itr != m_passengers.end();)
{
PlayerSet::const_iterator it2 = itr;
PlayerSet::iterator it2 = itr;
++itr;
Player *plr = *it2;