浏览代码

verve compilation correction - need to cast to char *, not use the raw string for the con:: series of methods

Brian Roberts 6 年之前
父节点
当前提交
2e1fe56815
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/Verve/Extension/Motion/VMotionTrack.cpp

+ 1 - 1
Engine/source/Verve/Extension/Motion/VMotionTrack.cpp

@@ -238,7 +238,7 @@ void VMotionTrack::attachObject( void )
          && !getController()->getDataValue( mOrientationData, orientationDataValue ) )
     {
         // Sanity!
-        Con::warnf( "Unable to located the value for the given orientation data key, '%s'", mOrientationData );
+        Con::warnf( "Unable to located the value for the given orientation data key, '%s'", mOrientationData.c_str() );
         // Clear.
         orientationDataValue = String::EmptyString;
     }