Changeset 2382 for code/branches/presentation/src/network/packet
- Timestamp:
- Dec 10, 2008, 3:36:36 PM (16 years ago)
- Location:
- code/branches/presentation/src/network/packet
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/packet/Gamestate.cc
r2371 r2382 49 49 50 50 #define PACKET_FLAG_GAMESTATE ENET_PACKET_FLAG_RELIABLE 51 52 TrafficControl Gamestate::trafficControl_;53 51 54 52 Gamestate::Gamestate() … … 362 360 363 361 //call TrafficControl 364 trafficControl_.processObjectList( clientID, HEADER->id, &dataMap_ );362 TrafficControl::getInstance()->processObjectList( clientID, HEADER->id, &dataMap_ ); 365 363 366 364 //copy in the zeros -
code/branches/presentation/src/network/packet/Gamestate.h
r2371 r2382 95 95 void removeObject(ObjectListIterator<Synchronisable> &it); 96 96 std::list<obj> dataMap_; 97 static TrafficControltrafficControl_;97 // static TrafficControl *trafficControl_; 98 98 }; 99 99
Note: See TracChangeset
for help on using the changeset viewer.