Skip to content
Snippets Groups Projects
Commit d8d6d0dc authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Do not assert if count becomes larger than getStackMax() in...

Do not assert if count becomes larger than getStackMax() in InventoryItem::add(); it is nicer for scripting and overall hacking this way, because rising it higher than the limit is does not break anything. It should be, and is, enforced elsewhere where appropriate.
parent f6c6c4f9
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment