[Change] Minimize data usage.

This commit is contained in:
Allanis 2014-01-21 20:09:47 +00:00
parent 0c1f50a2ff
commit b426a77758

View File

@ -972,6 +972,8 @@ int outfit_load(void) {
outfit_parse(&outfit_stack[outfit_nstack-1], node);
}
} while((node = node->next));
/* Shrink back to minimum - Shouldn't change ever. */
outfit_stack = realloc(outfit_stack, sizeof(Outfit) * outfit_nstack);
/* Second pass, set up ammunition relationships. */
for(i = 0; i < outfit_nstack; i++) {