Convert all classes to use the new parent names. The old ones were marked for deprecation long ago.
This commit is contained in:
parent
a7903a585e
commit
b471bc7607
2 changed files with 2 additions and 11 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue