mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-27 23:17:54 +00:00
Fix for potion belt name loading.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user