mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix debug renderer
This commit is contained in:
@@ -617,7 +617,18 @@ void MapRendererDebug::renderTile(IMapRendererContext & context, Canvas & target
|
||||
|
||||
uint8_t MapRendererDebug::checksum(IMapRendererContext & context, const int3 & coordinates)
|
||||
{
|
||||
return 0;
|
||||
uint8_t result = 0;
|
||||
|
||||
if (context.showVisitable())
|
||||
result += 1;
|
||||
|
||||
if (context.showBlockable())
|
||||
result += 2;
|
||||
|
||||
if (context.showGrid())
|
||||
result += 4;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
MapRendererPath::MapRendererPath()
|
||||
|
||||
Reference in New Issue
Block a user