Changeset 266 for trunk/src/game/Map.cpp

Show
Ignore:
Timestamp:
11/21/08 08:48:50 (17 years ago)
Author:
yumileroy
Message:

*Fix the bug that updatepacket is not sent to players.
*TODO: move creature::update to map::update. This requires that move activeobjectlist to map.

Original author: megamage
Date: 2008-11-20 20:28:17-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Map.cpp

    r260 r266  
    597597void Map::Update(const uint32 &t_diff) 
    598598{ 
    599     resetMarkedCells(); 
     599    // TODO: need have an active object list for every map 
     600 
     601    /*resetMarkedCells(); 
    600602 
    601603    Trinity::ObjectUpdater updater(t_diff); 
     
    643645            } 
    644646        } 
    645     } 
    646  
     647    }*/ 
    647648 
    648649    // Don't unload grids if it's battleground, since we may have manually added GOs,creatures, those doesn't load from DB at grid re-load !