mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-22 12:00:03 +00:00
Tweak mob roaming logic and a few other values
This fixes the crash with mobs with a very small m_iIdleRange and avoids unnecessary looping. Co-authored-by: JadeShrineMaiden <69916714+JadeShrineMaiden@users.noreply.github.com>
This commit is contained in:
@@ -908,7 +908,7 @@ std::string PlayerManager::getPlayerName(Player *plr, bool id) {
|
||||
return "NOT IN GAME";
|
||||
|
||||
std::string ret = "";
|
||||
if (id && plr->accountLevel <= 10)
|
||||
if (id && plr->accountLevel <= 30)
|
||||
ret += "(GM) ";
|
||||
|
||||
ret += U16toU8(plr->PCStyle.szFirstName) + " " + U16toU8(plr->PCStyle.szLastName);
|
||||
|
||||
Reference in New Issue
Block a user