Changeset 3149

Show
Ignore:
Timestamp:
02/03/2010 05:54:30 AM (7 months ago)
Author:
jackpoz
Message:

FIXED: Crash in MapMgr? happening often. This fix may slow down MapMgr? but at least it will not crash anymore.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/arcemu-world/MapMgr.cpp

    r3131 r3149  
    15031503                        ptr = *itr; 
    15041504                        ++itr; 
    1505                         if(ptr != NULL) 
     1505                        if( activeCreatures.find(ptr) != activeCreatures.end())//required by owners despawning creatures and deleting *(++itr) 
    15061506                                ptr->Update(difftime); 
    15071507                }