mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-27 16:56:28 -04:00
git pushMerge branch 'testing' of stellabellum.net:staff/src into testing
This commit is contained in:
@@ -380,11 +380,10 @@ inline bool Client::isGod() const {
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
inline int Client::getGodLevel() const {
|
||||
// isGod will set the god level if it is not already, if the client is a god
|
||||
if (isGod() || ConfigServerGame::getAdminGodToAll()) {
|
||||
if (isGod()) {
|
||||
return m_godLevel;
|
||||
} else {
|
||||
return -1;
|
||||
return -1; // because they may be aliased in the admin table, but don't want to be in gm right now
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user