diff --git a/polymer/eduke32/Makefile.deps b/polymer/eduke32/Makefile.deps index 8afc39452..b90b4aa3a 100644 --- a/polymer/eduke32/Makefile.deps +++ b/polymer/eduke32/Makefile.deps @@ -31,10 +31,7 @@ duke3d_h=\ gamedef_h=$(SRC)/gamedef.h $(SRC)/gameexec.h $(SRC)/gamevars.h -game_defs_dep= -ifneq ($(LUNATIC),0) - game_defs_dep=$(SRC)/lunatic/defs.ilua -endif +game_defs_dep=$(SRC)/lunatic/defs.ilua $(OBJ)/game.$o: $(SRC)/game.c $(game_defs_dep) $(SRC)/jmact/scriplib.h $(duke3d_h) $(SRC)/input.h $(INC)/osdfuncs.h $(INC)/osdcmds.h $(INC)/grpscan.h $(INC)/demo.h $(EINC)/hightile.h $(OBJ)/actors.$o: $(SRC)/actors.c $(duke3d_h) diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index 8a4bd7d43..4a99f8da0 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -1063,7 +1063,7 @@ static inline void prelevel(char g) { int32_t i, nexti, j, startwall, endwall; int32_t switchpicnum; - uint8_t *tagbitmap = Bcalloc(65536>>3, 1); + uint8_t *tagbitmap = (uint8_t *)Bcalloc(65536>>3, 1); if (tagbitmap==NULL) G_GameExit("OUT OF MEMORY in prelevel()");