Accept an extra numerical argument in GetItemCount

pull/558/head
Capostrophic 5 years ago
parent 7e6a533a29
commit c1f1e367fa

@ -116,7 +116,7 @@ namespace Compiler
void registerExtensions (Extensions& extensions)
{
extensions.registerInstruction ("additem", "clX", opcodeAddItem, opcodeAddItemExplicit);
extensions.registerFunction ("getitemcount", 'l', "c", opcodeGetItemCount,
extensions.registerFunction ("getitemcount", 'l', "cX", opcodeGetItemCount,
opcodeGetItemCountExplicit);
extensions.registerInstruction ("removeitem", "clX", opcodeRemoveItem,
opcodeRemoveItemExplicit);

Loading…
Cancel
Save