From: sparky4 Date: Thu, 8 Sep 2016 15:53:39 +0000 (-0500) Subject: wwww yakuji wwww ca use to load maps w hmmm cachemap is hard to translate X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=e813f162bf5dc7565613da6c27d9836679185649;p=16.git wwww yakuji wwww ca use to load maps w hmmm cachemap is hard to translate --- diff --git a/src/lib/16_ca.c b/src/lib/16_ca.c index 5934c5ae..725e9321 100755 --- a/src/lib/16_ca.c +++ b/src/lib/16_ca.c @@ -1875,7 +1875,8 @@ void CA_CacheMap (global_game_variables_t *gvar) // if (!gvar->ca.map.mapheaderseg[gvar->ca.map.mapnum]) { - pos = ((_seg *)gvar->ca.map.tinf)->headeroffsets[gvar->ca.mapnum]; + //pos = ((mapfiletype _seg *)tinf)->headeroffsets[mapnum]; + pos = ((_seg *)gvar->ca.map.tinf)->headeroffsets[gvar->ca.map.mapnum]; if (pos<0) // $FFFFFFFF start is a sparse map printf("CA_CacheMap: Tried to load a non existent map!");