mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed: args of non-actor mapthings were ignored.
This commit is contained in:
parent
e75bdf86db
commit
6f5dbdefb0
1 changed files with 1 additions and 1 deletions
|
@ -4617,7 +4617,7 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
|
|||
}
|
||||
|
||||
// copy args to mapthing so that we have them in one place for the rest of this function
|
||||
if (mentry->Special >= 0)
|
||||
if (mentry->Type != NULL && mentry->Special >= 0)
|
||||
{
|
||||
mthing->special = mentry->Special;
|
||||
memcpy(mthing->args, mentry->Args, sizeof(mthing->args));
|
||||
|
|
Loading…
Reference in a new issue