浏览代码

Another tweak for Seer Hut serialization.

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

+ 1 - 1
lib/CObjectHandler.h

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