Skip to content

Commit 5d59a51

Browse files
committed
Remove unnecessary loop in worldmap renderer
1 parent 62a6028 commit 5d59a51

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

OpenTibia/Assets/Scripts/Core/WorldMap/Rendering/WorldMapRenderer.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ private void InternalUpdateFloor(int z) {
289289

290290
bool aboveGround = Player.Position.z <= 7;
291291
int brightness = aboveGround ? WorldMapStorage.AmbientCurrentBrightness : 0;
292-
for (int i = 0; i < _creatureCount.Length; i++)
293-
_creatureCount[i] = 0;
294292

295293
for (int x = 0; x < Constants.MapSizeX; x++) {
296294
for (int y = 0; y < Constants.MapSizeY; y++) {

0 commit comments

Comments
 (0)