Skip to content

Commit

Permalink
World|DMU API|Sector: A sector's mobj list is no longer writable via DMU
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
danij-deng committed Sep 14, 2013
1 parent e2f07d2 commit 138a344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/client/src/world/sector.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 138a344

Please sign in to comment.