From cf2b2aad6b6d51b5a9a6ca23c5f56efaaf7ad83d Mon Sep 17 00:00:00 2001 From: qndel Date: Sun, 10 Jan 2021 16:30:46 +0100 Subject: [PATCH] fix vs2019 release builds (#973) --- Source/drlg_l3.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/drlg_l3.cpp b/Source/drlg_l3.cpp index 6013d7681..ff7e1e1fa 100644 --- a/Source/drlg_l3.cpp +++ b/Source/drlg_l3.cpp @@ -1970,6 +1970,10 @@ void FenceDoorFix() static void DRLG_L3Wood() { +#if (_MSC_VER >= 1920) + volatile // visual studio 2019 throws internal compiler error without it, see #708 + +#endif int i, j, x, y, xx, yy, rt, rp, x1, y1, x2, y2; BOOL skip;