diff --git a/src/objects/sealed-star.c b/src/objects/sealed-star.c index 4a632147f..bf7b9c342 100644 --- a/src/objects/sealed-star.c +++ b/src/objects/sealed-star.c @@ -98,6 +98,12 @@ void Obj_SSHologramRotatorMapThingSpawn(mobj_t* mo, mapthing_t* mt) token = next; } + if (numStates == 0) + { + CONS_Alert(CONS_WARNING, "MT_HOLOGRAM_ROTATOR %d: stringarg 0 consists exclusively of unrecognised creatures\n", mt->tid); + return; + } + if (mt->thing_args[0]) { speed = mt->thing_args[0];