Seed reset seems fine when moved out of the loader. Also bump protocol
--- a/CMakeLists.txt Sun Apr 29 10:47:02 2018 -0400
+++ b/CMakeLists.txt Sun Apr 29 11:25:12 2018 -0400
@@ -80,8 +80,8 @@
#versioning
set(CPACK_PACKAGE_VERSION_MAJOR 0)
set(CPACK_PACKAGE_VERSION_MINOR 9)
-set(CPACK_PACKAGE_VERSION_PATCH "24.1")
-set(HEDGEWARS_PROTO_VER 55)
+set(CPACK_PACKAGE_VERSION_PATCH 25)
+set(HEDGEWARS_PROTO_VER 56)
set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
include(${CMAKE_MODULE_PATH}/revinfo.cmake)
--- a/hedgewars/uScript.pas Sun Apr 29 10:47:02 2018 -0400
+++ b/hedgewars/uScript.pas Sun Apr 29 11:25:12 2018 -0400
@@ -3410,7 +3410,11 @@
physfsReaderSetBuffer(@buf);
if Pos('Locale/',s) <> 0 then
ret:= lua_load(luaState, @ScriptLocaleReader, f, Str2PChar(s))
-else ret:= lua_load(luaState, @ScriptReader, f, Str2PChar(s));
+else
+ begin
+ SetRandomSeed(cSeed,true);
+ ret:= lua_load(luaState, @ScriptReader, f, Str2PChar(s))
+ end;
pfsClose(f);
if ret <> 0 then