diff --git a/polymer/build/src/osd.c b/polymer/build/src/osd.c index d99319141..bd634beeb 100644 --- a/polymer/build/src/osd.c +++ b/polymer/build/src/osd.c @@ -1846,9 +1846,8 @@ static symbol_t *findexactsymbol(const char *name) i = HASH_findcase(&osdsymbolsH,name); if (i > -1) { - symbol_t *symb = osdsymbptrs[i]; - if (symb->func == (void *)OSD_UNALIASED) - return NULL; +// if ((symbol_t *)osdsymbptrs[i]->func == (void *)OSD_UNALIASED) +// return NULL; return osdsymbptrs[i]; } return NULL; diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 649241982..c325202b4 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -50,7 +50,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include extern int getversionfromwebsite(char *buffer); -#define BUILDDATE 20080823 // this is checked against http://eduke32.com/VERSION +// this is checked against http://eduke32.com/VERSION +#define BUILDDATE 20080825 #define UPDATEINTERVAL 604800 // 1w #else static int usecwd = 0; diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index a18292550..85f4d85fd 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -5648,8 +5648,8 @@ void loadefs(const char *filenam) total_lines += line_number; - while ((g_ScriptSize-1024) > (scriptptr-script)) - g_ScriptSize -= 1024; + while ((g_ScriptSize-128) > (scriptptr-script)) + g_ScriptSize -= 128; increasescriptsize(g_ScriptSize); initprintf("Compiled code size: %ld*%d bytes, version %s\n",(unsigned)(scriptptr-script),sizeof(intptr_t),(g_ScriptVersion == 14?"1.4+":"1.3D")); diff --git a/polymer/eduke32/source/menus.c b/polymer/eduke32/source/menus.c index 5ee4f5a09..5578b5067 100644 --- a/polymer/eduke32/source/menus.c +++ b/polymer/eduke32/source/menus.c @@ -3544,7 +3544,7 @@ cheat_for_port_credits: KB_ClearKeyDown(sc_Delete); } - for (l=0; l < min(13,NUMGAMEFUNCTIONS); l++) + for (l=min(13,NUMGAMEFUNCTIONS)-1; l >= 0 ; l--) { p = CONFIG_FunctionNumToName(m+l); if (!p) continue; diff --git a/polymer/eduke32/source/namesdyn.c b/polymer/eduke32/source/namesdyn.c index 2cfcdad61..327e4521b 100644 --- a/polymer/eduke32/source/namesdyn.c +++ b/polymer/eduke32/source/namesdyn.c @@ -1544,7 +1544,7 @@ void freehashnames() void setupdynamictostatic(void) { - int i; + int i = 0; clearbufbyte(dynamictostatic,MAXTILES,0); while (list[i].val) {