fix misplaced curly brace
This commit is contained in:
parent
acb4ce7729
commit
51ba73da0f
|
@ -81,7 +81,7 @@ extern "C" void StartMods() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure version compatibility
|
// Ensure version compatibility
|
||||||
for (DLL* dll: modDLLs) {
|
for (DLL* dll : modDLLs) {
|
||||||
int majorVersion = ((int(*)())dll->ModMajorVersion)();
|
int majorVersion = ((int(*)())dll->ModMajorVersion)();
|
||||||
int minorVersion = ((int(*)())dll->ModMinorVersion)();
|
int minorVersion = ((int(*)())dll->ModMinorVersion)();
|
||||||
if (majorVersion != MOD_MAJOR_VERSION) {
|
if (majorVersion != MOD_MAJOR_VERSION) {
|
||||||
|
@ -95,6 +95,7 @@ extern "C" void StartMods() {
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Run Initialization routines on all mods
|
// Run Initialization routines on all mods
|
||||||
for (DLL* dll: modDLLs) {
|
for (DLL* dll: modDLLs) {
|
||||||
|
@ -106,7 +107,7 @@ extern "C" void StartMods() {
|
||||||
((void(*)())dll->ModInitialize)();
|
((void(*)())dll->ModInitialize)();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (hSelf) PrintLoadedMods();
|
if (hSelf) PrintLoadedMods();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue