Merge branch 'undo_322' into flats-png_port

This commit is contained in:
Alam Ed Arias 2019-09-09 15:05:43 -04:00
commit 37d6106619
5 changed files with 5 additions and 5 deletions

View file

@ -287,7 +287,7 @@ static void D_Display(void)
F_TitleScreenDrawer(); F_TitleScreenDrawer();
break; break;
} }
// Intentional fall-through /* FALLTHRU */
case GS_LEVEL: case GS_LEVEL:
if (!gametic) if (!gametic)
break; break;

View file

@ -4583,7 +4583,7 @@ void G_GhostTicker(void)
default: default:
case GHC_RETURNSKIN: case GHC_RETURNSKIN:
g->mo->skin = g->oldmo.skin; g->mo->skin = g->oldmo.skin;
// fallthru /* FALLTHRU */
case GHC_NORMAL: // Go back to skin color case GHC_NORMAL: // Go back to skin color
g->mo->color = g->oldmo.color; g->mo->color = g->oldmo.color;
break; break;

View file

@ -530,7 +530,7 @@ static void Impl_HandleKeyboardConsoleEvent(KEY_EVENT_RECORD evt, HANDLE co)
break; break;
case VK_RETURN: case VK_RETURN:
entering_con_command = false; entering_con_command = false;
// Fall through. /* FALLTHRU */
default: default:
event.data1 = MapVirtualKey(evt.wVirtualKeyCode,2); // convert in to char event.data1 = MapVirtualKey(evt.wVirtualKeyCode,2); // convert in to char
} }

View file

@ -327,7 +327,7 @@ static inline VOID I_GetConsoleEvents(VOID)
break; break;
case VK_RETURN: case VK_RETURN:
entering_con_command = false; entering_con_command = false;
// Fall through. /* FALLTHRU */
default: default:
ev.data1 = MapVirtualKey(input.Event.KeyEvent.wVirtualKeyCode,2); // convert in to char ev.data1 = MapVirtualKey(input.Event.KeyEvent.wVirtualKeyCode,2); // convert in to char
} }

View file

@ -322,9 +322,9 @@ static inline boolean I_SkipFrame(void)
case GS_LEVEL: case GS_LEVEL:
if (!paused) if (!paused)
return false; return false;
/* FALLTHRU */
//case GS_TIMEATTACK: -- sorry optimisation but now we have a cool level platter and that being laggardly looks terrible //case GS_TIMEATTACK: -- sorry optimisation but now we have a cool level platter and that being laggardly looks terrible
#ifndef CLIENT_LOADINGSCREEN #ifndef CLIENT_LOADINGSCREEN
/* FALLTHRU */
case GS_WAITINGPLAYERS: case GS_WAITINGPLAYERS:
#endif #endif
return skip; // Skip odd frames return skip; // Skip odd frames