diff --git a/apps/openmw/mwphysics/physicssystem.cpp b/apps/openmw/mwphysics/physicssystem.cpp index ab880abaaa..63f25eb5f5 100644 --- a/apps/openmw/mwphysics/physicssystem.cpp +++ b/apps/openmw/mwphysics/physicssystem.cpp @@ -925,6 +925,7 @@ namespace MWPhysics { stats.setAttribute(frameNumber, "Physics Actors", mActors.size()); stats.setAttribute(frameNumber, "Physics Objects", mObjects.size()); + stats.setAttribute(frameNumber, "Physics Projectiles", mProjectiles.size()); stats.setAttribute(frameNumber, "Physics HeightFields", mHeightFields.size()); } diff --git a/components/resource/stats.cpp b/components/resource/stats.cpp index 4d07889d0c..b5975e28e3 100644 --- a/components/resource/stats.cpp +++ b/components/resource/stats.cpp @@ -401,6 +401,7 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase *viewer) "", "Physics Actors", "Physics Objects", + "Physics Projectiles", "Physics HeightFields", });