From 762c686a0deda7d9ce21649cb8a9f3f4896a8080 Mon Sep 17 00:00:00 2001 From: Itms Date: Sun, 17 Nov 2024 15:01:04 +0100 Subject: [PATCH] Remove check for SpiderMonkey minor version --- source/scriptinterface/ScriptTypes.h | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/source/scriptinterface/ScriptTypes.h b/source/scriptinterface/ScriptTypes.h index ef5c9b9ea2..cce674f772 100644 --- a/source/scriptinterface/ScriptTypes.h +++ b/source/scriptinterface/ScriptTypes.h @@ -81,23 +81,9 @@ #if MOZJS_MAJOR_VERSION != 115 #error Your compiler is trying to use an incorrect major version of the \ -SpiderMonkey library. The only version that works is the one in the \ -libraries/spidermonkey/ directory, and it will not work with a typical \ -system-installed version. Make sure you have got all the right files and \ -include paths. -#endif - -#if MOZJS_MINOR_VERSION != 16 -#error Your compiler is trying to use an untested minor version of the \ -SpiderMonkey library. If you are a package maintainer, please make sure \ -to check very carefully that this version does not change the behaviour \ -of the code executed by SpiderMonkey. Different parts of the game (e.g. \ -the multiplayer mode) rely on deterministic behaviour of the JavaScript \ -engine. A simple way for testing this would be playing a network game \ -with one player using the old version and one player using the new \ -version. Another way for testing is running replays and comparing the \ -final hash (check trac.wildfiregames.com/wiki/Debugging#Replaymode). \ -For more information check this link: trac.wildfiregames.com/wiki/Debugging#Outofsync +SpiderMonkey library. The SpiderMonkey API is subject to changes, and the \ +game will not build with the selected version of the library. Make sure \ +you have got all the right files and include paths. #endif class ScriptInterface;