From ef9644df2879342bfe1b7adb7e7ce2438e3523bd Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 3 Dec 2012 09:36:45 +0100 Subject: [PATCH] Changed: Replaced size() by !empty() --- code/nel/src/3d/zone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/3d/zone.cpp b/code/nel/src/3d/zone.cpp index b075e477e..4acca80f5 100644 --- a/code/nel/src/3d/zone.cpp +++ b/code/nel/src/3d/zone.cpp @@ -127,7 +127,7 @@ void CZone::build(const CZoneInfo &zoneInfo, uint32 numVertices) // Compute the bbox and the bias/scale. //===================================== CAABBox bb; - if(patchs.size()) + if(!patchs.empty()) bb.setCenter(patchs[0].Patch.Vertices[0]); bb.setHalfSize(CVector::Null); for(j=0;j<(sint)patchs.size();j++)