mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10950] Check for scripting lib that it build with exactly same mangos rev.
This prevent use outdated script DLL with hidden possible incompatibilities in used from core inline functions or defines.
This commit is contained in:
parent
0da3463758
commit
9ae7104251
10 changed files with 79 additions and 52 deletions
|
|
@ -1261,6 +1261,9 @@ void World::SetInitialWorldSettings()
|
|||
case SCRIPT_LOAD_ERR_WRONG_API:
|
||||
sLog.outError("Scripting library has wrong list functions (outdated?).");
|
||||
break;
|
||||
case SCRIPT_LOAD_ERR_OUTDATED:
|
||||
sLog.outError("Scripting library build for old mangosd revision. You need rebuild it.");
|
||||
break;
|
||||
}
|
||||
|
||||
///- Initialize game time and timers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue