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

Bugfixing

This commit is contained in:
Ivan Savenko
2023-01-17 22:18:34 +02:00
parent ee7a573cb8
commit 46931a0ecf
5 changed files with 22 additions and 32 deletions

View File

@@ -776,9 +776,9 @@ void CTownHandler::loadTownHall(CTown &town, const JsonNode & source)
}
}
CTown::ClientInfo::Point JsonToPoint(const JsonNode & node)
Point JsonToPoint(const JsonNode & node)
{
CTown::ClientInfo::Point ret;
Point ret;
ret.x = static_cast<si32>(node["x"].Float());
ret.y = static_cast<si32>(node["y"].Float());
return ret;