mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Minor addition: Get in the way less when doing Record Attack stuff in DEVELOP builds. (Can revert before this branch is merged, but was necessary to test...)
This commit is contained in:
parent
2663c79d21
commit
da041e1224
1 changed files with 4 additions and 0 deletions
|
|
@ -3214,12 +3214,14 @@ boolean M_Responder(event_t *ev)
|
||||||
|| (currentMenu->menuitems[itemOn].status & IT_TYPE)==IT_SUBMENU)
|
|| (currentMenu->menuitems[itemOn].status & IT_TYPE)==IT_SUBMENU)
|
||||||
&& (currentMenu->menuitems[itemOn].status & IT_CALLTYPE))
|
&& (currentMenu->menuitems[itemOn].status & IT_CALLTYPE))
|
||||||
{
|
{
|
||||||
|
#ifndef DEVELOP
|
||||||
if (((currentMenu->menuitems[itemOn].status & IT_CALLTYPE) & IT_CALL_NOTMODIFIED) && modifiedgame && !savemoddata)
|
if (((currentMenu->menuitems[itemOn].status & IT_CALLTYPE) & IT_CALL_NOTMODIFIED) && modifiedgame && !savemoddata)
|
||||||
{
|
{
|
||||||
S_StartSound(NULL, sfx_skid);
|
S_StartSound(NULL, sfx_skid);
|
||||||
M_StartMessage(M_GetText("This cannot be done in a modified game.\n\n(Press a key)\n"), NULL, MM_NOTHING);
|
M_StartMessage(M_GetText("This cannot be done in a modified game.\n\n(Press a key)\n"), NULL, MM_NOTHING);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
S_StartSound(NULL, sfx_menu1);
|
S_StartSound(NULL, sfx_menu1);
|
||||||
switch (currentMenu->menuitems[itemOn].status & IT_TYPE)
|
switch (currentMenu->menuitems[itemOn].status & IT_TYPE)
|
||||||
|
|
@ -4570,10 +4572,12 @@ static boolean M_LevelAvailableOnPlatter(INT32 mapnum)
|
||||||
/* FALLTHRU */
|
/* FALLTHRU */
|
||||||
case LLM_RECORDATTACK:
|
case LLM_RECORDATTACK:
|
||||||
case LLM_NIGHTSATTACK:
|
case LLM_NIGHTSATTACK:
|
||||||
|
#ifndef DEVELOP
|
||||||
if (mapvisited[mapnum] & MV_MAX)
|
if (mapvisited[mapnum] & MV_MAX)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (mapheaderinfo[mapnum]->menuflags & LF2_NOVISITNEEDED)
|
if (mapheaderinfo[mapnum]->menuflags & LF2_NOVISITNEEDED)
|
||||||
|
#endif
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue