Selaa lähdekoodia

ios compilation fix

Ivan Savenko 2 vuotta sitten
vanhempi
sitoutus
b7c27e7d47
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      lib/battle/DamageCalculator.cpp

+ 4 - 0
lib/battle/DamageCalculator.cpp

@@ -18,6 +18,8 @@
 #include "../spells/CSpellHandler.h"
 #include "../CModHandler.h"
 
+VCMI_LIB_NAMESPACE_BEGIN
+
 namespace SiegeStuffThatShouldBeMovedToHandlers // <=== TODO
 {
 
@@ -516,3 +518,5 @@ TDmgRange DamageCalculator::calculateDmgRange() const
 		std::max( 1.0, std::floor(result.second * resultingFactor))
 	};
 }
+
+VCMI_LIB_NAMESPACE_END