1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 10:23:52 +00:00

Add a warning comment to RefData::setCount()

This commit is contained in:
Emanuel Guevel 2013-11-02 13:06:15 +01:00
parent 467bd91651
commit d2dcf0b203

View file

@ -73,6 +73,11 @@ namespace MWWorld
void setLocals (const ESM::Script& script);
void setCount (int count);
/// Set object count (an object pile is a simple object with a count >1).
///
/// \warning Do not call setCount() to add or remove objects from a
/// container or an actor's inventory. Call ContainerStore::add() or
/// ContainerStore::remove() instead.
MWScript::Locals& getLocals();