- Timestamp:
- May 18, 2006, 3:58:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_game_manager.cc
r7693 r7694 934 934 Converter::byteArrayToInt( data, &uniqueId ); 935 935 936 SynchronizeableList::const_iterator it = NetworkGameManager::getInstance()->networkStream->getSyncBegin(); 937 938 Playable *p = NULL; 939 Synchronizeable *s = NULL; 940 941 for ( ; it !=NetworkGameManager::getInstance()->networkStream->getSyncEnd(); it++ ) 942 { 943 if ( (*it)->getUniqueID()==uniqueId ) 944 { 945 if ( (*it)->isA( CL_PLAYABLE ) ) 946 { 947 break; 948 } 949 } 950 } 951 952 if ( it !=NetworkGameManager::getInstance()->networkStream->getSyncEnd() ) 953 return false; 954 936 955 NetworkGameManager::getInstance()->doYouAre( uniqueId ); 956 957 return true; 937 958 } 938 959
Note: See TracChangeset
for help on using the changeset viewer.