1
0
forked from 0ad/0ad
0ad/source/simulation2/tests
wraitii f5f493681d Fix atlas crash with RM capture the relic.
As no default values got set, some game settings became NaN, which
triggered exceptions.
This sets sane default.

This also includes better debugging logic in case of exception, so it's
easier to know what happens.

Fixes #6200

Reported by: langbart
Differential Revision: https://code.wildfiregames.com/D4113
This was SVN commit r25736.
2021-06-07 18:48:16 +00:00
..
test_CmpTemplateManager.h Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
test_ComponentManager.h Fix atlas crash with RM capture the relic. 2021-06-07 18:48:16 +00:00
test_EntityMap.h Update random_shuffle usage for C++17 2020-11-30 15:52:16 +00:00
test_ParamNode.h ParamNode: switch to utf8, ToXML -> ToXMLString, test tweak, PCH tweak 2021-04-11 09:23:10 +00:00
test_Serializer.h Replace ScriptInterface::Call* with new ScriptFunction functions 2021-05-01 14:04:53 +00:00
test_SerializeTemplates.h Use templates to replace explicit serialization helpers. 2020-12-19 09:10:37 +00:00
test_Simulation2.h Adds std namespace to shared_ptr usages in scriptinterface and simulation. 2021-05-22 19:30:18 +00:00