[Change] Minimize data usage.
This commit is contained in:
parent
0c1f50a2ff
commit
b426a77758
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user