Merge: lib/serialization: fix deserialization constructor calling the default init
authorJean Privat <jean@pryen.org>
Wed, 21 Oct 2015 13:03:23 +0000 (09:03 -0400)
committerJean Privat <jean@pryen.org>
Wed, 21 Oct 2015 13:03:23 +0000 (09:03 -0400)
commit5ebe7789853d827bacfd4f76acc8d4a7ce47a1b6
tree4ad36f258d45ff0f0bcad261a4597dcf07118e14
parentc3512b94f63520d4979a19ad92254cc2af2df72d
parent9e7779c33e6e776af0bc231e38110c6349185530
Merge: lib/serialization: fix deserialization constructor calling the default init

Restore previous behavior of the deserialization init which should not call the default init. This caused problems on default inits that accessed not yet deserialized attributes.

This also fixes WBTW troubles with game saving and multiplayer.

Pull-Request: #1766
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>