From db958cd058eef6e3f09d3144b14ce2699aaffec6 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 8 Sep 2016 11:17:14 -0500 Subject: [PATCH] bloody typedefstruct merging is going to be tricky --- src/lib/16_ca.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib/16_ca.c b/src/lib/16_ca.c index 537e8ba8..3f395173 100755 --- a/src/lib/16_ca.c +++ b/src/lib/16_ca.c @@ -1839,7 +1839,7 @@ void CA_CacheGrChunk (int chunk) = ====================== */ -/*++++ fuckin segments! +/*++++ segments! void CA_CacheMap (global_game_variables_t *gvar) { long pos,compressed; @@ -1857,10 +1857,7 @@ void CA_CacheMap (global_game_variables_t *gvar) // free up memory from last map // if (gvar->ca.map.mapon>-1 && gvar->ca.map.mapheaderseg[gvar->ca.map.mapon]) - MM_SetPurge (&((memptr)gvar->ca.map.mapheaderseg - [(gvar->ca.map.mapon)]), - - 3, &(gvar->mm)); + MM_SetPurge (&((memptr)gvar->ca.map.mapheaderseg[(gvar->ca.map.mapon)]), 3, &(gvar->mm)); for (plane=0;planeca.map.mapsegs[plane]) MM_FreePtr (&(memptr)gvar->ca.map.mapsegs[plane], &(gvar->mm)); -- 2.39.5