mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Replace static_cast's of Identifiers with getNum call
This commit is contained in:
@@ -197,7 +197,7 @@ struct DLL_LINKAGE CPathsInfo
|
||||
STRONG_INLINE
|
||||
CGPathNode * getNode(const int3 & coord, const ELayer layer)
|
||||
{
|
||||
return &nodes[layer][coord.z][coord.x][coord.y];
|
||||
return &nodes[layer.getNum()][coord.z][coord.x][coord.y];
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user