From 12304d36aa4605d68188acafe0a3967e407557ae Mon Sep 17 00:00:00 2001 From: "florent.teppe" Date: Fri, 26 May 2023 10:02:51 +0200 Subject: [PATCH] std::cout => Log(Debug::Verbose) --- components/esm4/loadland.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/esm4/loadland.cpp b/components/esm4/loadland.cpp index 086a15a660..cc8eecdeb8 100644 --- a/components/esm4/loadland.cpp +++ b/components/esm4/loadland.cpp @@ -34,6 +34,8 @@ #include // FIXME: debug only +#include + #include "reader.hpp" // #include "writer.hpp" @@ -122,7 +124,7 @@ void ESM4::Land::load(ESM4::Reader& reader) if (currentAddQuad != -1) { // FIXME: sometimes there are no VTXT following an ATXT? Just add a dummy one for now - std::cout << "ESM4::Land VTXT empty layer " << (int)layer.texture.layerIndex << std::endl; + Log(Debug::Verbose) << "ESM4::Land VTXT empty layer " << (int)layer.texture.layerIndex; mTextures[currentAddQuad].layers.push_back(layer); } reader.get(layer.texture); @@ -208,8 +210,8 @@ void ESM4::Land::load(ESM4::Reader& reader) if (currentAddQuad != -1) { // FIXME: not sure if it happens here as well - std::cout << "ESM4::Land VTXT empty layer " << (int)layer.texture.layerIndex << " quad " - << (int)layer.texture.quadrant << std::endl; + Log(Debug::Verbose) << "ESM4::Land VTXT empty layer " << (int)layer.texture.layerIndex << " quad " + << (int)layer.texture.quadrant; mTextures[currentAddQuad].layers.push_back(layer); }