Browse Source

Fixed crash in Con::warnf function. Issue #82

Dmitry 12 years ago
parent
commit
a31e6a755c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/T3D/fx/explosion.cpp

+ 1 - 1
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) {