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/test_bullet.cc

    r9869 r10114  
    2424#include "debug.h"
    2525
    26 #include "class_id_DEPRECATED.h"
    27 ObjectListDefinitionID(TestBullet, CL_TEST_BULLET);
     26
     27ObjectListDefinition(TestBullet);
    2828CREATE_FAST_FACTORY_STATIC(TestBullet);
    2929
     
    119119void TestBullet::collidesWith(WorldEntity* entity, const Vector& location)
    120120{
    121   if (this->hitEntity != entity && entity->isA(CL_NPC))
     121  if (this->hitEntity != entity && entity->isA( "NPC" ))
    122122    this->destroy( entity );
    123123  this->hitEntity = entity;
Note: See TracChangeset for help on using the changeset viewer.