mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 18:15:35 +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 setLocals (const ESM::Script& script);
|
||||||
|
|
||||||
void setCount (int count);
|
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();
|
MWScript::Locals& getLocals();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue