mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +00:00
Merge pull request #2720 from Capostrophic/getitemcount
Accept an extra numerical argument in GetItemCount
This commit is contained in:
commit
f603daecdc
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ namespace Compiler
|
||||||
void registerExtensions (Extensions& extensions)
|
void registerExtensions (Extensions& extensions)
|
||||||
{
|
{
|
||||||
extensions.registerInstruction ("additem", "clX", opcodeAddItem, opcodeAddItemExplicit);
|
extensions.registerInstruction ("additem", "clX", opcodeAddItem, opcodeAddItemExplicit);
|
||||||
extensions.registerFunction ("getitemcount", 'l', "c", opcodeGetItemCount,
|
extensions.registerFunction ("getitemcount", 'l', "cX", opcodeGetItemCount,
|
||||||
opcodeGetItemCountExplicit);
|
opcodeGetItemCountExplicit);
|
||||||
extensions.registerInstruction ("removeitem", "clX", opcodeRemoveItem,
|
extensions.registerInstruction ("removeitem", "clX", opcodeRemoveItem,
|
||||||
opcodeRemoveItemExplicit);
|
opcodeRemoveItemExplicit);
|
||||||
|
|
Loading…
Reference in a new issue