瀏覽代碼

Removed unnecessary parameter in a simObject getter method

Lukas Jørgensen 11 年之前
父節點
當前提交
9fbdf64bd9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/console/simObject.h

+ 1 - 1
Engine/source/console/simObject.h

@@ -781,7 +781,7 @@ class SimObject: public ConsoleObject
       void setCanSaveDynamicFields( bool bCanSave ) { mCanSaveFieldDictionary	=	bCanSave; }
       void setCanSaveDynamicFields( bool bCanSave ) { mCanSaveFieldDictionary	=	bCanSave; }
       
       
       /// Get whether fields created at runtime should be saved. Default is true.
       /// Get whether fields created at runtime should be saved. Default is true.
-      bool getCanSaveDynamicFields( bool bCanSave ) { return mCanSaveFieldDictionary;}
+      bool getCanSaveDynamicFields( ) { return mCanSaveFieldDictionary;}
 
 
       /// Return the object that this object is copying fields from.
       /// Return the object that this object is copying fields from.
       SimObject* getCopySource() const { return mCopySource; }
       SimObject* getCopySource() const { return mCopySource; }