1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Events serialization

This commit is contained in:
nordsoft
2023-09-10 01:54:55 +02:00
parent 52cbb613ae
commit 6e3817f18c
5 changed files with 49 additions and 5 deletions

View File

@@ -2097,7 +2097,6 @@ CGObjectInstance * CMapLoaderH3M::readTown(const int3 & position, std::shared_pt
for(int eventID = 0; eventID < eventsCount; ++eventID)
{
CCastleEvent event;
event.town = object;
event.name = readBasicString();
event.message = readLocalizedString(TextIdentifier("town", position.x, position.y, position.z, "event", eventID, "description"));