summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-26 00:24:31 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-26 00:24:31 +0200
commit885467bcd0b9cc0554fd34c40c4fbb8eebadd84c (patch)
tree6b1c4478741bed7d9912a48e9835309bb61d780f /src
parentRefactor cPedComments (diff)
downloadre3-885467bcd0b9cc0554fd34c40c4fbb8eebadd84c.tar
re3-885467bcd0b9cc0554fd34c40c4fbb8eebadd84c.tar.gz
re3-885467bcd0b9cc0554fd34c40c4fbb8eebadd84c.tar.bz2
re3-885467bcd0b9cc0554fd34c40c4fbb8eebadd84c.tar.lz
re3-885467bcd0b9cc0554fd34c40c4fbb8eebadd84c.tar.xz
re3-885467bcd0b9cc0554fd34c40c4fbb8eebadd84c.tar.zst
re3-885467bcd0b9cc0554fd34c40c4fbb8eebadd84c.zip
Diffstat (limited to '')
-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 33839aa7..9cd85ef1 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -574,8 +574,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);