diff Items.cpp @ 1685:2a309997c42f

Player::StealFromShop started cleanup, fixing a few errors caused by not commiting everything
author Grumpy7
date Sat, 21 Sep 2013 12:38:43 +0200
parents 3c451fd02fcf
children 8251e59fd7c1
line wrap: on
line diff
--- a/Items.cpp	Fri Sep 20 10:51:42 2013 +0200
+++ b/Items.cpp	Sat Sep 21 12:38:43 2013 +0200
@@ -2388,7 +2388,7 @@
 
 bool ItemGen::IsRegularEnchanmentForAttribute( CHARACTER_ATTRIBUTE_TYPE attrToGet )
 {
-  auto bonusList = ItemGen::specialBonusMap.find(this->uSpecEnchantmentType);
+  auto bonusList = ItemGen::specialBonusMap.find(this->uEnchantmentType);
   if (bonusList == ItemGen::specialBonusMap.end())
   {
     return false;