Kaynağa Gözat

Fixed double serialization, possible cause of #1051.

DjWarmonger 13 yıl önce
ebeveyn
işleme
fa544384a7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;
 	}
 };