mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Bugfixing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user