Convert all classes to use the new parent names. The old ones were marked for deprecation long ago.

This commit is contained in:
Marco Cawthorne 2022-05-10 15:01:59 -07:00
parent a7903a585e
commit b471bc7607
Signed by: eukara
GPG Key ID: C196CD8BA993248A
2 changed files with 2 additions and 11 deletions

View File

@ -14,7 +14,7 @@
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
class item_ammo:CBaseEntity
class item_ammo:NSRenderableEntity
{
void(void) item_ammo;
virtual void(void) Respawn;
@ -66,7 +66,7 @@ item_ammo::item_ammo(void)
{
GetSpawnModel() = model;
SetModel(GetSpawnModel());
CBaseEntity::CBaseEntity();
NSRenderableEntity::NSRenderableEntity();
}
/*

View File

@ -45,15 +45,6 @@ Game_Input(player pl)
Weapons_AddItem(pl, WEAPON_XS, -1);
Weapons_AddItem(pl, WEAPON_SATCHEL, -1);
}
if (pl.impulse == 102) {
// Respawn all the entities
for (entity a = world; (a = findfloat(a, ::identity, 1));) {
CBaseEntity caw = (CBaseEntity)a;
caw.Respawn();
}
bprint(PRINT_HIGH, "Respawning all map entities...\n");
}
}
pl.impulse = 0;