mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge remote-tracking branch 'public/master'
This commit is contained in:
commit
8be2d12b99
4 changed files with 8 additions and 5 deletions
|
|
@ -547,10 +547,7 @@ static void COM_ExecuteString(char *ptext)
|
||||||
if (!stricmp(com_argv[0], a->name))
|
if (!stricmp(com_argv[0], a->name))
|
||||||
{
|
{
|
||||||
if (recursion > MAX_ALIAS_RECURSION)
|
if (recursion > MAX_ALIAS_RECURSION)
|
||||||
{
|
|
||||||
CONS_Alert(CONS_WARNING, M_GetText("Alias recursion cycle detected!\n"));
|
CONS_Alert(CONS_WARNING, M_GetText("Alias recursion cycle detected!\n"));
|
||||||
recursion = 0;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
|
|
@ -582,8 +579,10 @@ static void COM_ExecuteString(char *ptext)
|
||||||
}
|
}
|
||||||
WRITESTRING(write, read);
|
WRITESTRING(write, read);
|
||||||
|
|
||||||
|
// Monster Iestyn: keep track of how many levels of recursion we're in
|
||||||
recursion++;
|
recursion++;
|
||||||
COM_BufInsertText(buf);
|
COM_BufInsertText(buf);
|
||||||
|
recursion--;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2478,6 +2478,7 @@ static void Command_ClearBans(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
I_ClearBans();
|
I_ClearBans();
|
||||||
|
D_SaveBan();
|
||||||
reasontail = NULL;
|
reasontail = NULL;
|
||||||
while (reasonhead)
|
while (reasonhead)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1149,7 +1149,7 @@ void R_SetupFrame(player_t *player, boolean skybox)
|
||||||
aimingangle = player->aiming;
|
aimingangle = player->aiming;
|
||||||
viewangle = viewmobj->angle;
|
viewangle = viewmobj->angle;
|
||||||
|
|
||||||
if (/*!demo.playback && */player->playerstate != PST_DEAD)
|
if (!demo.playback && player->playerstate != PST_DEAD)
|
||||||
{
|
{
|
||||||
if (player == &players[consoleplayer])
|
if (player == &players[consoleplayer])
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1173,7 +1173,10 @@ void I_StartupSound(void)
|
||||||
const char *sdrv_name = NULL;
|
const char *sdrv_name = NULL;
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_MIXER
|
#ifndef HAVE_MIXER
|
||||||
midi_disabled = digital_disabled = true;
|
#ifndef NO_MIDI
|
||||||
|
midi_disabled =
|
||||||
|
#endif
|
||||||
|
digital_disabled = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
memset(channels, 0, sizeof (channels)); //Alam: Clean it
|
memset(channels, 0, sizeof (channels)); //Alam: Clean it
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue