0ad/source
Yves 2ae74221c7 Fixes saving/loading problems introduced in 28bdd8540f.
* CGameLoader created a new JS::Value when assigning to m_Metadata.
This means it didn't actually update metadata in SavedGames::Load. The
new approach solves this problem and should work well if
CScriptValRooted gets replaced in the future.
 * The cloning in ScriptFunctions.cpp was required. Removing it caused
compartment mismatches.
 * Now CGameLoader loads the metadata unconditinally because we didn't
actually use the option to not load load it.

Ref #2415

This was SVN commit r15589.
2014-07-31 14:44:51 +00:00
..
collada Fix VS2013 build errors, warnings 2013-11-03 12:46:07 +00:00
graphics Fixes crash when generating random maps. 2014-07-27 18:17:16 +00:00
gui Fixes saving/loading problems introduced in 28bdd8540f. 2014-07-31 14:44:51 +00:00
i18n Fixes a few building warnings and convention issues from 19ca1e3ebf 2014-05-07 23:33:21 +00:00
lib Remove collision in global namespace. 2014-07-09 19:16:03 +00:00
lobby Quite a lot of stack rooting related changes. 2014-07-26 22:33:16 +00:00
maths Optimise silhouette rendering. 2014-07-03 01:00:25 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Quite a lot of stack rooting related changes. 2014-07-26 22:33:16 +00:00
pch Sacrifices a goat to the gods of insanity. 2014-04-24 20:05:48 +00:00
ps Fixes saving/loading problems introduced in 28bdd8540f. 2014-07-31 14:44:51 +00:00
renderer Commit coastal waves when activating fancy effects, and incidentally completely change how this effect work. Refs #48. 2014-07-28 10:14:00 +00:00
scriptinterface Quite a lot of stack rooting related changes. 2014-07-26 22:33:16 +00:00
simulation2 Small code style fix, related to a typo in the documentation. Also updates the Example component's copyright to match the current year. 2014-07-30 17:34:40 +00:00
soundmanager Fix segmentation fault in the sound destructor. Happened when the sound file doesn't exist. Errors are shown by other code. 2014-06-24 11:07:39 +00:00
third_party Makes tinygettext handle missing plural forms more sanely. 2014-07-05 10:29:24 +00:00
tools Fix crash when starting Atlas (introduced in 28bdd8540f). 2014-07-27 18:38:31 +00:00
contributors.txt Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00
main.cpp Add serialization test support for replays. 2014-07-22 19:41:49 +00:00
test_setup.cpp Changes tests to use global g_ScriptRuntime instead of creating a new JSRuntime for each test. 2014-04-25 21:19:51 +00:00