diff --git a/Tactical/World Items.cpp b/Tactical/World Items.cpp index 96f4f0a9..bb12cce6 100644 --- a/Tactical/World Items.cpp +++ b/Tactical/World Items.cpp @@ -378,7 +378,8 @@ INT32 GetFreeWorldItemIndex( void ) } uiOldNumWorldItems = guiNumWorldItems; - guiNumWorldItems += 10; + // grow by 3/2 as a better strategy, minimum 10 + guiNumWorldItems = max(10, guiNumWorldItems * 3 / 2); //Allocate new table with max+10 items. newWorldItems = new WORLDITEM [ guiNumWorldItems ]; if (newWorldItems == NULL)