Update minimum status for devtools

This commit is contained in:
Akkadius 2019-08-10 02:27:07 -05:00
parent 461931f5bd
commit 0884c57928
2 changed files with 5 additions and 1 deletions

View File

@ -77,6 +77,10 @@ namespace EQEmu
} // namespace invtype } // namespace invtype
namespace DevTools {
const int32 GM_ACCOUNT_STATUS_LEVEL = 150;
}
namespace popupresponse { namespace popupresponse {
const int32 SERVER_INTERNAL_USE_BASE = 2000000000; const int32 SERVER_INTERNAL_USE_BASE = 2000000000;
const int32 MOB_INFO_DISMISS = 2000000001; const int32 MOB_INFO_DISMISS = 2000000001;

View File

@ -1684,7 +1684,7 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
/** /**
* DevTools Load Settings * DevTools Load Settings
*/ */
if (Admin() >= 200) { if (Admin() >= EQEmu::DevTools::GM_ACCOUNT_STATUS_LEVEL) {
std::string dev_tools_window_key = StringFormat("%i-dev-tools-window-disabled", AccountID()); std::string dev_tools_window_key = StringFormat("%i-dev-tools-window-disabled", AccountID());
if (DataBucket::GetData(dev_tools_window_key) == "true") { if (DataBucket::GetData(dev_tools_window_key) == "true") {
dev_tools_window_enabled = false; dev_tools_window_enabled = false;