- Be stricter about types accepted by spawning functions.
SVN r2265 (scripting)
This commit is contained in:
parent
549ddf8035
commit
06995e26d9
59 changed files with 192 additions and 186 deletions
|
|
@ -163,7 +163,7 @@ void AFastProjectile::Effect()
|
|||
hitz = floorz;
|
||||
}
|
||||
|
||||
const PClass *trail = PClass::FindClass(name);
|
||||
PClassActor *trail = PClass::FindActor(name);
|
||||
if (trail != NULL)
|
||||
{
|
||||
AActor *act = Spawn (trail, x, y, hitz, ALLOW_REPLACE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue