From e813f162bf5dc7565613da6c27d9836679185649 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 8 Sep 2016 10:53:39 -0500 Subject: [PATCH] wwww yakuji wwww ca use to load maps w hmmm cachemap is hard to translate --- src/lib/16_ca.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!"); -- 2.39.5