- 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:
parent
06995e26d9
commit
19f5b1dea1
9 changed files with 14 additions and 16 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue