summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Ped.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index 7984b0f8..585caf81 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -821,8 +821,10 @@ public:
void RestorePreviousObjective(void);
void SetIdle(void);
#ifdef _MSC_VER
+#if _MSC_VER >= 1920 && _MSC_VER < 1929
__declspec(noinline) // workaround for a compiler bug, hooray MS :P
#endif
+#endif
void SetObjective(eObjective, void*);
void SetObjective(eObjective);
void SetObjective(eObjective, int16, int16);