mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 22:01:30 +00:00
Update minimum status for devtools
This commit is contained in:
parent
461931f5bd
commit
0884c57928
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user