summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.h
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:47:17 +0200
commitb7db2a12d499c1c1bd3667b00ab1553588c29885 (patch)
tree2582cfcf37d718409fe5fe9841b9762044dfef64 /src/peds/Ped.h
parentRefactor cPedComments (diff)
downloadre3-b7db2a12d499c1c1bd3667b00ab1553588c29885.tar
re3-b7db2a12d499c1c1bd3667b00ab1553588c29885.tar.gz
re3-b7db2a12d499c1c1bd3667b00ab1553588c29885.tar.bz2
re3-b7db2a12d499c1c1bd3667b00ab1553588c29885.tar.lz
re3-b7db2a12d499c1c1bd3667b00ab1553588c29885.tar.xz
re3-b7db2a12d499c1c1bd3667b00ab1553588c29885.tar.zst
re3-b7db2a12d499c1c1bd3667b00ab1553588c29885.zip
Diffstat (limited to 'src/peds/Ped.h')
-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 f5a7d7dc..26cdf03f 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -712,8 +712,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);