Changeset 2532 for code/branches/bugger/src/network/packet
- Timestamp:
- Dec 23, 2008, 11:15:09 PM (16 years ago)
- Location:
- code/branches/bugger/src/network/packet
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bugger/src/network/packet/Gamestate.cc
r2531 r2532 50 50 51 51 #define PACKET_FLAG_GAMESTATE ENET_PACKET_FLAG_RELIABLE 52 53 TrafficControl Gamestate::trafficControl_;54 52 55 53 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/bugger/src/network/packet/Gamestate.h
r2531 r2532 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.