mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Misc fixes
git-svn-id: https://svn.eduke32.com/eduke32@549 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a7069d9ba4
commit
d8dfd8beb4
4 changed files with 13 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -2708,7 +2708,7 @@ static void Keys3d(void)
|
|||
while (w >= 0)
|
||||
{
|
||||
j = nextspritesect[w];
|
||||
sprite[i].pal = pal;
|
||||
sprite[w].pal = pal;
|
||||
w = j;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue