Fix for potion belt name loading.

This commit is contained in:
KimLS
2014-09-25 03:59:59 -07:00
parent c0cbbf3a65
commit aa021addc1
7 changed files with 36 additions and 8 deletions
+5
View File
@@ -38,6 +38,11 @@ T ClampUpper(const T& value, const T& upper) {
return std::min(value, upper);
}
template <typename T>
bool ValueWithin(const T& value, const T& lower, const T& upper) {
return value >= lower && value <= upper;
}
}
#endif