Fix crash in debug mode due to __stdcall not being explicitly specified for C++ function (closes #476)

This commit is contained in:
phobos2077
2023-06-13 19:45:11 +02:00
parent 46a80fdb6a
commit d7127a4deb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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);
}