enforce min stack sizes for quest opcodes too

This commit is contained in:
Martin Michelsen
2023-12-17 18:15:07 -08:00
parent d64c9621af
commit af06741788
4 changed files with 16 additions and 3 deletions
+1 -3
View File
@@ -397,9 +397,7 @@ ItemData ItemNameIndex::parse_item_description(Version version, const std::strin
}
}
}
if (ret.stack_size() == 0) {
ret.data1[5] = 1;
}
ret.enforce_min_stack_size();
return ret;
}