- Removed the RUNTIME_TYPE macro. I just included it because MFC has one, but it's pretty

pointless here.

SVN r2267 (scripting)
This commit is contained in:
Randy Heit 2010-04-04 02:58:58 +00:00
commit 19f5b1dea1
9 changed files with 14 additions and 16 deletions

View file

@ -2499,7 +2499,7 @@ void P_NightmareRespawn (AActor *mobj)
// spawn it
x = mobj->SpawnPoint[0];
y = mobj->SpawnPoint[1];
mo = Spawn (RUNTIME_TYPE(mobj), x, y, z, NO_REPLACE);
mo = Spawn (mobj->GetClass(), x, y, z, NO_REPLACE);
if (z == ONFLOORZ)
mo->z += mo->SpawnPoint[2];