From a31e6a755c3f111afa506b39e0c1a4b88d72732a Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 4 Dec 2012 10:18:35 -0800 Subject: [PATCH] Fixed crash in Con::warnf function. Issue #82 --- Engine/source/T3D/fx/explosion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/T3D/fx/explosion.cpp b/Engine/source/T3D/fx/explosion.cpp index 58b57bf15..b84efad3f 100644 --- a/Engine/source/T3D/fx/explosion.cpp +++ b/Engine/source/T3D/fx/explosion.cpp @@ -151,7 +151,7 @@ DefineEngineFunction(calcExplosionCoverage, F32, (Point3F pos, S32 id, U32 covMa SceneObject* sceneObject = NULL; if (Sim::findObject(id, sceneObject) == false) { - Con::warnf(ConsoleLogEntry::General, "calcExplosionCoverage: couldn't find object: %s", id); + Con::warnf(ConsoleLogEntry::General, "calcExplosionCoverage: couldn't find object: %d", id); return 1.0f; } if (sceneObject->isClientObject() || sceneObject->getContainer() == NULL) {