diff Player.cpp @ 1411:2423bc2af692

+InitializaDialogueOptions +InitializaDialogueOptions_Shops +InitializaDialogueOptions_Tavern
author Nomad
date Fri, 26 Jul 2013 23:35:34 +0200
parents c9e3b93ec570
children 5930342f092b
line wrap: on
line diff
--- a/Player.cpp	Fri Jul 26 22:19:29 2013 +0200
+++ b/Player.cpp	Fri Jul 26 23:35:34 2013 +0200
@@ -1066,25 +1066,25 @@
 
   switch (building_type)
   {
-    case BildingType_WeaponShop:
+    case BuildingType_WeaponShop:
       if (idemId >= ITEM_ARTIFACT_HERMES_SANDALS)
         return 5;
       if (equipType > EQUIP_BOW)
         return 4;
     break;
-    case BildingType_ArmorShop:
+    case BuildingType_ArmorShop:
       if (idemId >= ITEM_ARTIFACT_HERMES_SANDALS)
         return 5;
       if ( equipType < EQUIP_ARMOUR || equipType > EQUIP_BOOTS)
         return 4;
     break;
-    case BildingType_MagicShop:
+    case BuildingType_MagicShop:
       if (idemId >= ITEM_ARTIFACT_HERMES_SANDALS)
         return 5;
       if ( pItemsTable->pItems[idemId].uSkillType != PLAYER_SKILL_MISC )
         return 4;
     break;
-    case BildingType_AlchemistShop:
+    case BuildingType_AlchemistShop:
       if ((idemId >= ITEM_ARTIFACT_HERMES_SANDALS && idemId < ITEM_RECIPE_REJUVENATION) || idemId > ITEM_RECIPE_BODY_RESISTANCE)
         return 5;
       if ( !(equipType == EQUIP_REAGENT || equipType == EQUIP_POTION || equipType == EQUIP_MESSAGE_SCROLL))