diff options
-rw-r--r-- | src/emap/script_buildins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index 3e7227f..d55a242 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -1780,8 +1780,8 @@ BUILDIN(getCraftRecipe) for (int i = 0; i < craft_inventory_size; i++) { struct item_pair *entryItem = &entry_inventory->items[i]; - int index4 = start4 + size; - int index5 = start5 + size; + uint32 index4 = start4 + size; + uint32 index5 = start5 + size; script->set_reg(st, NULL, reference_uid(id4, index4), name4, (const void *)h64BPTRSIZE(entryItem->amount), ref4); script->set_reg(st, NULL, reference_uid(id5, index5), name5, (const void *)h64BPTRSIZE(entryItem->index), ref5); |