From 138a344d48ce06a6e8db82bf76934ff25756f247 Mon Sep 17 00:00:00 2001 From: danij Date: Sat, 14 Sep 2013 17:40:17 +0100 Subject: [PATCH] World|DMU API|Sector: A sector's mobj list is no longer writable via DMU Linking mobjs to mobj elements is the engine's job. There should be no need for a game plugin to manipulate this list manually, so this is now prevented at API level. --- doomsday/client/src/world/sector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doomsday/client/src/world/sector.cpp b/doomsday/client/src/world/sector.cpp index 3ba870c4db..1800dc480f 100644 --- a/doomsday/client/src/world/sector.cpp +++ b/doomsday/client/src/world/sector.cpp @@ -767,9 +767,9 @@ int Sector::property(DmuArgs &args) const SoundEmitter const *emitterAdr = &d->emitter; args.setValue(DMT_SECTOR_EMITTER, &emitterAdr, 0); break; } - case DMT_MOBJS: + /*case DMT_MOBJS: args.setValue(DMT_SECTOR_MOBJLIST, &d->mobjList, 0); - break; + break;*/ case DMU_VALID_COUNT: args.setValue(DMT_SECTOR_VALIDCOUNT, &d->validCount, 0); break;