Convert all classes to use the new parent names. The old ones were marked for deprecation long ago.
This commit is contained in:
parent
7ed50ada4a
commit
66ded4a6e4
1 changed files with 3 additions and 4 deletions
|
@ -25,7 +25,7 @@ then it becomes ammo for the Medkit weapon which provides 15 health
|
||||||
per shot.
|
per shot.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
class item_healthkit:CBaseEntity
|
class item_healthkit:NSRenderableEntity
|
||||||
{
|
{
|
||||||
void(void) item_healthkit;
|
void(void) item_healthkit;
|
||||||
virtual void(void) Respawn;
|
virtual void(void) Respawn;
|
||||||
|
@ -92,7 +92,7 @@ item_healthkit::Respawn(void)
|
||||||
if (!real_owner)
|
if (!real_owner)
|
||||||
Sound_Play(this, CHAN_ITEM, "item.respawn");
|
Sound_Play(this, CHAN_ITEM, "item.respawn");
|
||||||
|
|
||||||
droptofloor();
|
DropToFloor();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -103,6 +103,5 @@ item_healthkit::item_healthkit(void)
|
||||||
Sound_Precache("item.respawn");
|
Sound_Precache("item.respawn");
|
||||||
Sound_Precache("weapon.pickup");
|
Sound_Precache("weapon.pickup");
|
||||||
model = "models/w_medkit.mdl";
|
model = "models/w_medkit.mdl";
|
||||||
CBaseEntity::CBaseEntity();
|
super::NSRenderableEntity();
|
||||||
item_healthkit::Respawn();
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue