mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 19:52:17 +00:00
Fix for potion belt name loading.
This commit is contained in:
1 parent
c0cbbf3a65
commit
aa021addc1
7 files changed
+36
-8
No files matched your search
@@ -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