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)
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>


Trivial merge