Changeset 10121 in orxonox.OLD for branches/playability/src/world_entities/weapons/weapon_manager.cc
- Timestamp:
- Dec 20, 2006, 1:09:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/weapon_manager.cc
r10036 r10121 420 420 this->currentConfigID = weaponConfig; 421 421 PRINTF(4)("Changing weapon configuration: to %i\n", this->currentConfigID); 422 422 423 for (int i = 0; i < WM_MAX_SLOTS; i++) 423 424 this->currentSlotConfig[i].nextWeapon = this->configs[currentConfigID][i]; … … 472 473 for(int i = 0; i < this->slotCount; i++) 473 474 { 474 /* 475 NICE LITTLE DEBUG FUNCTION476 if (this->currentSlotConfig[i].currentWeapon != NULL || this->currentSlotConfig[i].nextWeapon != NULL)475 476 //NICE LITTLE DEBUG FUNCTION 477 /* if (this->currentSlotConfig[i].currentWeapon != NULL || this->currentSlotConfig[i].nextWeapon != NULL) 477 478 printf("%p %p\n", this->currentSlotConfig[i].currentWeapon, this->currentSlotConfig[i].nextWeapon);*/ 478 479 … … 496 497 } 497 498 } 498 499 499 // switching to next Weapon 500 500 tickWeapon = this->currentSlotConfig[i].currentWeapon = this->currentSlotConfig[i].nextWeapon; 501 501 502 if (tickWeapon != NULL) 502 503 {
Note: See TracChangeset
for help on using the changeset viewer.