mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fix crash in debug mode due to __stdcall not being explicitly specified for C++ function (closes #476)
This commit is contained in:
@@ -31,7 +31,7 @@ void RemoveInvenObjHook_Invoke(fo::GameObject* source, fo::GameObject* item, lon
|
||||
|
||||
static long rmObjType = -1;
|
||||
|
||||
void SetRemoveObjectType(long rmType) {
|
||||
void __stdcall SetRemoveObjectType(long rmType) {
|
||||
rmObjType = rmType;
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,6 @@ long InvenWieldHook_Invoke(fo::GameObject* critter, fo::GameObject* item, long f
|
||||
void InvenUnwield_HookDrop();
|
||||
void InvenUnwield_HookMove();
|
||||
|
||||
void SetRemoveObjectType(long rmType);
|
||||
void __stdcall SetRemoveObjectType(long rmType);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user