summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-27 12:31:49 +0200
committeraap <aap@papnet.eu>2020-04-27 12:31:49 +0200
commitd397a59951a22336d5b61997449ab74d263c06b8 (patch)
tree5f5bc2e411e62574a542a3e079989069079e7731 /src/peds/Ped.h
parentfix (temporary?) for black bullet traces (diff)
parentFix use of integers instead of enum/bool/nil (diff)
downloadre3-d397a59951a22336d5b61997449ab74d263c06b8.tar
re3-d397a59951a22336d5b61997449ab74d263c06b8.tar.gz
re3-d397a59951a22336d5b61997449ab74d263c06b8.tar.bz2
re3-d397a59951a22336d5b61997449ab74d263c06b8.tar.lz
re3-d397a59951a22336d5b61997449ab74d263c06b8.tar.xz
re3-d397a59951a22336d5b61997449ab74d263c06b8.tar.zst
re3-d397a59951a22336d5b61997449ab74d263c06b8.zip
Diffstat (limited to '')
-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);