diff --git a/src/EntityComponentManager.cc b/src/EntityComponentManager.cc index 67fd71b596..5a85e04cac 100644 --- a/src/EntityComponentManager.cc +++ b/src/EntityComponentManager.cc @@ -116,7 +116,7 @@ Entity EntityComponentManager::CreateEntity() { Entity entity = ++this->dataPtr->entityCount; - if (entity == std::numeric_limits::max()) + if (entity == std::numeric_limits::max()) { ignwarn << "Reached maximum number of entities [" << entity << "]" << std::endl;