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:
parent
467bd91651
commit
d2dcf0b203
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue