summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-29 07:58:54 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-29 07:58:54 +0200
commit2be8fcfa64a9925206ed2356c2934c7559873a6a (patch)
tree9937e069805afb805c13c81877714465ad34b5fd /src/peds
parentfix (diff)
parentfix (diff)
downloadre3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.gz
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.bz2
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.lz
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.xz
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.zst
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.zip
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);