diff options
Diffstat (limited to 'src/peds/Ped.h')
-rw-r--r-- | src/peds/Ped.h | 2 |
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); |