Fix MSVC10 build error.

develop
Petr Mrázek 2010-09-21 03:18:34 +02:00
parent 0fe5ac98eb
commit 369b7cf701
2 changed files with 21 additions and 1 deletions

@ -1609,6 +1609,26 @@
<Address name="all_colors_vector" value="0x169fb4c" />
</Group>
</Group>
<Group name="Constructions">
<Address name="vector"/>
<Offset name="sizeof"/>
</Group>
<Group name="Translations">
<Address name="language_vector"/>
<Address name="translation_vector"/>
<Offset name="word_table"/>
</Group>
<Group name="Vegetation">
<Address name="vector"/>
<Offset name="tree_desc_offset"/>
</Group>
<Group name="Buildings">
<Address name="buildings_vector"/>
<Offset name="building_custom_workshop_type"/>
<Address name="custom_workshop_vector"/>
<Offset name="custom_workshop_name"/>
<Offset name="custom_workshop_type"/>
</Group>
</Offsets>
</Version>
31.13 WEATHER_START 0147E94E

@ -605,7 +605,7 @@ bool VersionInfoFactory::loadFile(string path_to_xml)
if(name)
{
string str_name = name;
knownVersions[str_name] = v_descr (pMemInfo, NULL);
knownVersions[str_name] = v_descr (pMemInfo, (VersionInfo *) NULL);
v_sEntries.push_back(str_name);
}
}