Misc fixes

git-svn-id: https://svn.eduke32.com/eduke32@549 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2007-06-12 19:47:34 +00:00
parent a7069d9ba4
commit d8dfd8beb4
4 changed files with 13 additions and 10 deletions

View file

@ -38,7 +38,7 @@
#define MAXTILEFILES 256
#define MAXYSAVES ((MAXXDIM*MAXSPRITES)>>7)
#define MAXNODESPERLINE 42 //Warning: This depends on MAXYSAVES & MAXYDIM!
#define MAXWALLSB 2048
#define MAXWALLSB ((MAXWALLS>>2)+(MAXWALLS>>3))
#define MAXCLIPDIST 1024

View file

@ -2708,7 +2708,7 @@ static void Keys3d(void)
while (w >= 0)
{
j = nextspritesect[w];
sprite[i].pal = pal;
sprite[w].pal = pal;
w = j;
}
}

View file

@ -2381,7 +2381,6 @@ static int parsecommand(void)
if (!CheckEventSync(current_event))
ReportError(WARNING_EVENTSYNC);
case CON_ANGOFF:
case CON_USERQUOTE:
case CON_QUOTE:
case CON_SOUND:
case CON_GLOBALSOUND:
@ -3044,6 +3043,7 @@ static int parsecommand(void)
case CON_GUNIQHUDID:
case CON_SAVEGAMEVAR:
case CON_READGAMEVAR:
case CON_USERQUOTE:
transvar();
return 0;

View file

@ -6315,15 +6315,18 @@ static int parse(void)
case CON_USERQUOTE:
insptr++;
if (fta_quotes[*insptr] == NULL)
{
OSD_Printf("%s %d null quote %d\n",__FILE__,__LINE__,*insptr);
insptr++;
break;
}
adduserquote(fta_quotes[*insptr++]);
break;
int i=GetGameVarID(*insptr++, g_i, g_p);
if (fta_quotes[i] == NULL)
{
OSD_Printf("%s %d null quote %d\n",__FILE__,__LINE__,i);
break;
}
adduserquote(fta_quotes[i]);
}
break;
case CON_IFINOUTERSPACE:
parseifelse(floorspace(g_sp->sectnum));
break;