1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

Reverted r1811, r1812, r1813

This commit is contained in:
Michał W. Urbańczyk
2010-10-24 11:23:43 +00:00
parent 8ac954a7f9
commit aa131bbf15
23 changed files with 199 additions and 395 deletions

View File

@@ -385,9 +385,8 @@ CSerializer::CSerializer()
void CSerializer::addStdVecItems(CGameState *gs, LibClasses *lib)
{
registerVectoredType(&gs->map->objects, &CGObjectInstance::id);
registerVectoredType(&lib->heroh->heroes, &CHero::ID);
registerVectoredType(&lib->creh->creatures, &CCreature::idNumber);
registerVectoredType(&lib->arth->artifacts, &CArtifact::id);
registerVectoredType(&gs->map->artInstances, &IModableArt::ID);
registerVectoredType(&lib->heroh->heroes, &CHero::ID);
smartVectorMembersSerialization = true;
}