mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Rename int3::valid to isValid for consistency
This commit is contained in:
@@ -2749,7 +2749,7 @@ void CMapLoaderH3M::afterRead()
|
||||
for(auto & p : map->players)
|
||||
{
|
||||
int3 posOfMainTown = p.posOfMainTown;
|
||||
if(posOfMainTown.valid() && map->isInTheMap(posOfMainTown))
|
||||
if(posOfMainTown.isValid() && map->isInTheMap(posOfMainTown))
|
||||
{
|
||||
const TerrainTile & t = map->getTile(posOfMainTown);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user