Skip to content

Commit

Permalink
Revert "World|DMU API|Sector: A sector's mobj list is no longer writa…
Browse files Browse the repository at this point in the history
…ble via DMU"

This reverts commit 138a344.
  • Loading branch information
danij-deng committed Sep 14, 2013
1 parent 138a344 commit a230060
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

1 comment on commit a230060

@danij-deng
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, writing as already prevented. This is in fact the reader not the writer...

Todo for later: Refactor the misleadingly named API of DmuArgs...

Please sign in to comment.