From: sparky4 Date: Thu, 8 Sep 2016 16:17:14 +0000 (-0500) Subject: bloody typedefstruct merging is going to be tricky X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=db958cd058eef6e3f09d3144b14ce2699aaffec6;p=16.git bloody typedefstruct merging is going to be tricky --- 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));