From 7d44ea03d9ecb85ad15dd8646856f3bc5425ed6c Mon Sep 17 00:00:00 2001 From: Javidx9 <25419386+OneLoneCoder@users.noreply.github.com> Date: Sun, 9 Sep 2018 16:10:58 +0100 Subject: [PATCH] Added NOMINMAX to stop confusion with windows.h --- OneLoneCoder_PGE_Balls2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OneLoneCoder_PGE_Balls2.cpp b/OneLoneCoder_PGE_Balls2.cpp index b851ced..1ffab4e 100644 --- a/OneLoneCoder_PGE_Balls2.cpp +++ b/OneLoneCoder_PGE_Balls2.cpp @@ -59,7 +59,7 @@ Part #2 https://youtu.be/ebq7L2Wtbl4 Author ~~~~~~ -David Barr, aka javidx9, ©OneLoneCoder 2018 +David Barr, aka javidx9, ©OneLoneCoder 2018 */ @@ -68,6 +68,7 @@ David Barr, aka javidx9, #include using namespace std; +#define NOMINMAX #include "olcPixelGameEngine.h" struct sBall