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
+1
View File
@@ -103,6 +103,7 @@ SET(common_headers
crash.h
crc16.h
crc32.h
data_verification.h
database.h
dbcore.h
debug.h
+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
-6
View File
@@ -26,12 +26,6 @@
#include "dbcore.h"
#include "linked_list.h"
#include "eq_packet_structs.h"
/*#include "eq_stream.h"
#include "guilds.h"
#include "misc_functions.h"
#include "mutex.h"
#include "item.h"
#include "extprofile.h"*/
#include <string>
#include <vector>
#include <map>