Convert all classes to use the new parent names. The old ones were marked for deprecation long ago.
This commit is contained in:
parent
45a52e1bf6
commit
de94f04cf7
3 changed files with 7 additions and 7 deletions
|
@ -48,7 +48,7 @@ enum
|
|||
DRILL_BINOCULARS
|
||||
};
|
||||
|
||||
class monster_drillsergeant:CBaseNPC
|
||||
class monster_drillsergeant:NSTalkMonster
|
||||
{
|
||||
void(void) monster_drillsergeant;
|
||||
virtual void(void) Respawn;
|
||||
|
@ -78,7 +78,7 @@ monster_drillsergeant::AnimRun(void)
|
|||
void
|
||||
monster_drillsergeant::Respawn(void)
|
||||
{
|
||||
CBaseNPC::Respawn();
|
||||
NSTalkMonster::Respawn();
|
||||
takedamage = DAMAGE_NO;
|
||||
iBleeds = FALSE;
|
||||
}
|
||||
|
@ -90,5 +90,5 @@ monster_drillsergeant::monster_drillsergeant(void)
|
|||
model = "models/drill.mdl";
|
||||
base_mins = [-16,-16,0];
|
||||
base_maxs = [16,16,72];
|
||||
CBaseNPC::CBaseNPC();
|
||||
NSTalkMonster::NSTalkMonster();
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ enum
|
|||
RECRUIT_SALUTE
|
||||
};
|
||||
|
||||
class monster_recruit:CBaseNPC
|
||||
class monster_recruit:NSTalkMonster
|
||||
{
|
||||
void(void) monster_recruit;
|
||||
virtual void(void) Respawn;
|
||||
|
@ -65,7 +65,7 @@ monster_recruit::AnimRun(void)
|
|||
void
|
||||
monster_recruit::Respawn(void)
|
||||
{
|
||||
CBaseNPC::Respawn();
|
||||
NSTalkMonster::Respawn();
|
||||
takedamage = DAMAGE_NO;
|
||||
iBleeds = FALSE;
|
||||
}
|
||||
|
@ -77,5 +77,5 @@ monster_recruit::monster_recruit(void)
|
|||
model = "models/recruit.mdl";
|
||||
base_mins = [-16,-16,0];
|
||||
base_maxs = [16,16,72];
|
||||
CBaseNPC::CBaseNPC();
|
||||
NSTalkMonster::NSTalkMonster();
|
||||
}
|
||||
|
|
|
@ -159,7 +159,7 @@ penguin_pain(void)
|
|||
void
|
||||
w_penguin_deploy(void)
|
||||
{
|
||||
CBaseEntity pingu = spawn(CBaseEntity);
|
||||
NSSurfacePropEntity pingu = spawn(NSSurfacePropEntity);
|
||||
pingu.owner = self;
|
||||
pingu.goalentity = self;
|
||||
pingu.netname = "Penguin";
|
||||
|
|
Loading…
Reference in a new issue