Changeset 10549 in orxonox.OLD for trunk/src/world_entities/npcs
- Timestamp:
- Jan 31, 2007, 6:30:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/npc.cc
r10546 r10549 304 304 this->setAI( false); 305 305 this->setAbsCoor(-10000,-10000,-10000); 306 306 307 307 308 308 } … … 409 409 int slot = ws->getWeaponSlot(); 410 410 int side = ws->getWeaponSide(); 411 this->getWeaponManager().setSlotPosition(slot, ws->getRelCoor());411 this->getWeaponManager().setSlotPosition(slot, (*it).second->getCenter()); 412 412 this->getWeaponManager().setSlotDirection(slot, ws->getRelDir()); 413 413 PRINTF(0)("setting slot %i\n", slot); 414 ws->getRelCoor().debug();414 (*it).second->getCenter().debug(); 415 415 } 416 416 }
Note: See TracChangeset
for help on using the changeset viewer.