From 6f5dbdefb05587dbe07e9b044f5af9b5ec93d221 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 7 Apr 2015 08:51:21 +0200 Subject: [PATCH] - fixed: args of non-actor mapthings were ignored. --- src/p_mobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 76afec801..e3317e1a2 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -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));