Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

merged network back to trunk

File:
1 edited

Legend:

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

    r9869 r10114  
    2828
    2929
    30 #include "class_id_DEPRECATED.h"
    31 ObjectListDefinitionID(RailProjectile, CL_RAIL_PROJECTILE);
     30
     31ObjectListDefinition(RailProjectile);
    3232CREATE_FAST_FACTORY_STATIC(RailProjectile);
    3333
     
    106106void RailProjectile::collidesWith(WorldEntity* entity, const Vector& location)
    107107{
    108   if (this->hitEntity != entity && entity->isA(CL_NPC))
     108  if (this->hitEntity != entity && entity->isA( "NPC" ))
    109109    this->destroy( entity );
    110110  this->hitEntity = entity;
Note: See TracChangeset for help on using the changeset viewer.