From 1391eeba81b973ca6c8dd1c7a0955329cd453772 Mon Sep 17 00:00:00 2001 From: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com> Date: Mon, 21 Nov 2022 10:02:56 +0300 Subject: [PATCH] Reordered pch includes in Sound. This might help with #162. Fixed switch warning. --- SpaceCadetPinball/Sound.cpp | 2 +- SpaceCadetPinball/SpaceCadetPinball.cpp | 4 ---- SpaceCadetPinball/control.cpp | 1 + 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/SpaceCadetPinball/Sound.cpp b/SpaceCadetPinball/Sound.cpp index 033793f..6660080 100644 --- a/SpaceCadetPinball/Sound.cpp +++ b/SpaceCadetPinball/Sound.cpp @@ -1,5 +1,5 @@ -#include "options.h" #include "pch.h" +#include "options.h" #include "Sound.h" #include "maths.h" diff --git a/SpaceCadetPinball/SpaceCadetPinball.cpp b/SpaceCadetPinball/SpaceCadetPinball.cpp index 2ae61e0..2452dde 100644 --- a/SpaceCadetPinball/SpaceCadetPinball.cpp +++ b/SpaceCadetPinball/SpaceCadetPinball.cpp @@ -1,8 +1,4 @@ -// SpaceCadetPinball.cpp : This file contains the 'main' function. Program execution begins and ends there. -// - #include "pch.h" - #include "winmain.h" int main(int argc, char* argv[]) diff --git a/SpaceCadetPinball/control.cpp b/SpaceCadetPinball/control.cpp index df1ae4c..b369424 100644 --- a/SpaceCadetPinball/control.cpp +++ b/SpaceCadetPinball/control.cpp @@ -1275,6 +1275,7 @@ void control::DrainBallBlockerControl(MessageCode code, TPinballComponent* calle break; } } + default: break; } }