forked from mirrors/0ad
e6e5d61b22
This wasn't possible because init functions are called inside each
other and the outer one overwrites the result of the inner one.
Now the outer result doesn't overwrite the inner result but stores it to
the pointed to location.
(cherry picked from commit e62eb96092)
Signed-off-by: phosit <phosit@autistici.org>