Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10539 in orxonox.OLD for trunk/src/world_entities/npcs/npc.cc


Ignore:
Timestamp:
Jan 31, 2007, 4:27:32 AM (17 years ago)
Author:
marcscha
Message:

Fixes for weapon systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/npc.cc

    r10531 r10539  
    411411 WorldEntity::draw();
    412412}
     413
     414// HACK just to make sure they explode as nice as possible :)
     415void NPC::hit( float damage, WorldEntity* killer)
     416{
     417  this->setDamage(killer->getDamage());
     418}
Note: See TracChangeset for help on using the changeset viewer.