git-svn-id: https://svn.eduke32.com/eduke32@1032 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-08-25 23:48:00 +00:00
parent 8ce121a895
commit 951edcaa78
5 changed files with 8 additions and 8 deletions

View file

@ -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;

View file

@ -50,7 +50,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <windows.h>
#include <shellapi.h>
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;

View file

@ -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"));

View file

@ -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;

View file

@ -1544,7 +1544,7 @@ void freehashnames()
void setupdynamictostatic(void)
{
int i;
int i = 0;
clearbufbyte(dynamictostatic,MAXTILES,0);
while (list[i].val)
{