1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 04:20:00 +00:00

Workaround for a crash on release

This commit is contained in:
Sergeanur 2020-04-27 01:55:06 +03:00
parent a069aa57db
commit 669bbe3cc7

View file

@ -567,6 +567,9 @@ public:
bool CanSeeEntity(CEntity*, float); bool CanSeeEntity(CEntity*, float);
void RestorePreviousObjective(void); void RestorePreviousObjective(void);
void SetIdle(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*);
void SetObjective(eObjective); void SetObjective(eObjective);
void SetObjective(eObjective, int16, int16); void SetObjective(eObjective, int16, int16);