summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-27 00:55:06 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-27 00:55:06 +0200
commit669bbe3cc7400764b270e080cf604a8a41ea0e1f (patch)
treeb6161265c8d2cf3e2e6870895d5511f905ccf3a8 /src
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
downloadre3-669bbe3cc7400764b270e080cf604a8a41ea0e1f.tar
re3-669bbe3cc7400764b270e080cf604a8a41ea0e1f.tar.gz
re3-669bbe3cc7400764b270e080cf604a8a41ea0e1f.tar.bz2
re3-669bbe3cc7400764b270e080cf604a8a41ea0e1f.tar.lz
re3-669bbe3cc7400764b270e080cf604a8a41ea0e1f.tar.xz
re3-669bbe3cc7400764b270e080cf604a8a41ea0e1f.tar.zst
re3-669bbe3cc7400764b270e080cf604a8a41ea0e1f.zip
Diffstat (limited to 'src')
-rw-r--r--src/peds/Ped.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index f4caafd8..2de30df6 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -567,6 +567,9 @@ public:
bool CanSeeEntity(CEntity*, float);
void RestorePreviousObjective(void);
void SetIdle(void);
+#ifdef _MSC_VER
+ __declspec(noinline) // workaround for a compiler bug, hooray MS :P
+#endif
void SetObjective(eObjective, void*);
void SetObjective(eObjective);
void SetObjective(eObjective, int16, int16);