From c00701eee1dfdc7fbb3ed30f0c1742bc12803cb8 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 16 Apr 2020 09:22:47 +0800 Subject: [PATCH] More useful warnings --- nel/src/pacs/move_container.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nel/src/pacs/move_container.cpp b/nel/src/pacs/move_container.cpp index 7c346aed4..099f46839 100644 --- a/nel/src/pacs/move_container.cpp +++ b/nel/src/pacs/move_container.cpp @@ -418,13 +418,13 @@ void CMoveContainer::updateCells (CMovePrimitive *primitive, uint8 worldImage) /* // Check BB width not too large if (wI->getBBXMax() - wI->getBBXMin() > _CellWidth) { - nlwarning ("Primitives have moved more than a cell."); + nlwarning ("Primitives have moved more than a cell, width: %f.", (float)(wI->getBBXMax() - wI->getBBXMin())); } // Check BB height not too large if (wI->getBBYMax() - wI->getBBYMin() > _CellHeight) { - nlwarning ("Primitives have moved more than a cell."); + nlwarning ("Primitives have moved more than a cell, height: %f.", (float)(wI->getBBYMax() - wI->getBBYMin())); } */ #endif