diff --git a/polymer/eduke32/build/src/cache1d.c b/polymer/eduke32/build/src/cache1d.c index 85afea63e..ca6293171 100644 --- a/polymer/eduke32/build/src/cache1d.c +++ b/polymer/eduke32/build/src/cache1d.c @@ -1190,6 +1190,7 @@ CACHE1D_FIND_REC *klistpath(const char *_path, const char *mask, int32_t type) while (search); } +#ifdef WITHKPLIB if (!pathsearchmode) // next, zip files { char buf[BMAX_PATH+4]; @@ -1259,7 +1260,7 @@ CACHE1D_FIND_REC *klistpath(const char *_path, const char *mask, int32_t type) } } } - +#endif // then, grp files if (!pathsearchmode && !*path && (type & CACHE1D_FIND_FILE)) { diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index dfa2b6eab..9723ab4fa 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -10741,8 +10741,9 @@ void loadtile(int16_t tilenume) if ((unsigned)tilenume >= (unsigned)MAXTILES) return; if ((dasiz = tilesizx[tilenume]*tilesizy[tilenume]) <= 0) return; -#ifdef WITHKPLIB i = tilefilenum[tilenume]; + +#ifdef WITHKPLIB if (artptrs[i]) // from zip { waloff[tilenume] = (intptr_t)(artptrs[i]) + tilefileoffs[tilenume];