diff Engine/Serialization/LegacyImages.cpp @ 2567:d569340b05ff

Few constants changed into enum values
author a.parshin
date Thu, 21 May 2015 01:50:59 +0200
parents 117c219bf913
children a76d408c5132
line wrap: on
line diff
--- a/Engine/Serialization/LegacyImages.cpp	Wed May 20 21:05:07 2015 +0200
+++ b/Engine/Serialization/LegacyImages.cpp	Thu May 21 01:50:59 2015 +0200
@@ -244,7 +244,7 @@
     this->uItemID = item->uItemID;
     this->uEnchantmentType = item->uEnchantmentType;
     this->m_enchantmentStrength = item->m_enchantmentStrength;
-    this->uSpecEnchantmentType = item->uSpecEnchantmentType;
+    this->special_enchantment = item->special_enchantment;
     this->uNumCharges = item->uNumCharges;
     this->uAttributes = item->uAttributes;
     this->uBodyAnchor = item->uBodyAnchor;
@@ -259,7 +259,7 @@
     item->uItemID = this->uItemID;
     item->uEnchantmentType = this->uEnchantmentType;
     item->m_enchantmentStrength = this->m_enchantmentStrength;
-    item->uSpecEnchantmentType = this->uSpecEnchantmentType;
+    item->special_enchantment = (ITEM_ENCHANTMENT)this->special_enchantment;
     item->uNumCharges = this->uNumCharges;
     item->uAttributes = this->uAttributes;
     item->uBodyAnchor = this->uBodyAnchor;