1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Removed hardcoded checks for Summon Boat spell

This commit is contained in:
Ivan Savenko
2025-07-11 17:11:01 +03:00
parent 7a1ede1e38
commit b0c511149d
10 changed files with 68 additions and 26 deletions

View File

@@ -67,6 +67,10 @@ VCMI_LIB_NAMESPACE_BEGIN
getName = reinterpret_cast<TGetNameFun>(dlsym(dll, "GetAiName"));
getAI = reinterpret_cast<TGetAIFun>(dlsym(dll, methodName.c_str()));
}
else
{
logGlobal->error("Cannot open dynamic library '%s'. Reason: %s", libpath.string(), dlerror());
}
#endif // VCMI_WINDOWS
if (!dll)