Changeset 9162 in orxonox.OLD for branches/presentation/src/util
- Timestamp:
- Jul 4, 2006, 6:15:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/util/multiplayer_team_deathmatch.cc
r9141 r9162 210 210 while ( this->killList.begin() != this->killList.end() ) 211 211 { 212 PRINTF(0)("KKKKKKKKIIIIIIIIILLLLLLLLLLLLL\n"); 212 213 onKill( this->killList.begin()->getVictim(), this->killList.begin()->getKiller() ); 213 214 this->killList.erase( this->killList.begin() ); … … 709 710 { 710 711 if ( !victim ) 711 return; 712 { 713 PRINTF(0)("victim == NULL\n"); 714 return; 715 } 712 716 if ( !killer ) 713 return; 717 { 718 PRINTF(0)("killer == NULL\n"); 719 return; 720 } 714 721 715 722 int killerUserId = killer->getOwner(); 716 723 int victimUserId = victim->getOwner(); 724 725 PRINTF(0)("%d %d %x %x %s %s\n", killerUserId, victimUserId, killer, victim, killer->getClassName(), victim->getClassName()); 717 726 718 727 PlayerStats & victimStats = *PlayerStats::getStats( victimUserId ); … … 720 729 721 730 if ( killerStats.getPlayable() != killer || victimStats.getPlayable() != victim ) 722 return; 731 { 732 PRINTF(0)("killerStats.getPlayable() != killer || victimStats.getPlayable() != victim\n"); 733 PRINTF(0)("%x %x %x %x\n", killerStats.getPlayable(), killer, victimStats.getPlayable(), victim ); 734 PRINTF(0)("%d %d %d %d\n", killerStats.getPlayable()->getUniqueID(), killer->getUniqueID(), victimStats.getPlayable()->getUniqueID(), victim->getUniqueID() ); 735 return; 736 } 723 737 724 738 //check for suicide
Note: See TracChangeset
for help on using the changeset viewer.