浏览代码

Fixed double serialization, possible cause of #1051.

DjWarmonger 13 年之前
父节点
当前提交
fa544384a7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/CObjectHandler.h

+ 1 - 1
lib/CObjectHandler.h

@@ -789,7 +789,7 @@ public:
 	template <typename Handler> void serialize(Handler &h, const int version)
 	{
 		h & static_cast<CGObjectInstance&>(*this) & static_cast<CQuest&>(*this);
-		h & rewardType & rID & rVal & textOption & seerName;
+		h & rewardType & rID & rVal & seerName;
 	}
 };