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

Sonarcloud fixes

This commit is contained in:
Tomasz Zieliński
2024-03-20 13:51:16 +01:00
parent 68cdcb893e
commit 02fc410a98
2 changed files with 3 additions and 7 deletions

View File

@@ -239,7 +239,6 @@ void Zone::fractalize()
//Squared
float minDistance = 9 * 9;
//float freeDistance = pos.z ? (10 * 10) : 6 * 6;
float freeDistance = pos.z ? (10 * 10) : (9 * 9);
float spanFactor = (pos.z ? 0.3f : 0.45f); //Narrower passages in the Underground
float marginFactor = 1.0f;