Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2006, 11:55:26 PM (19 years ago)
Author:
patrick
Message:

merged network back to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/projectiles/bomb.cc

    r9869 r10114  
    2525#include "debug.h"
    2626
    27 #include "class_id_DEPRECATED.h"
    28 ObjectListDefinitionID(Bomb, CL_BOMB);
     27
     28ObjectListDefinition(Bomb);
    2929CREATE_FAST_FACTORY_STATIC(Bomb);
    3030
     
    166166void Bomb::collidesWith (WorldEntity* entity, const Vector& location)
    167167{
    168   if (this->lifeCycle < .9f && entity->isA(CL_NPC))
     168  if (this->lifeCycle < .9f && entity->isA( "NPC" ))
    169169    this->lifeCycle = 0.9f;
    170170}
Note: See TracChangeset for help on using the changeset viewer.