feature/prepare-cross-merge
Nuno 4 years ago committed by kaetemi
parent 806cb449a1
commit f7953eea36
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -1308,7 +1308,7 @@ NLMISC_COMMAND(getFame, "get/set fame of player", "<uid> <faction> [<value>] [<e
if (args.size() < 4 || args[3] == "1")
{
CFameManager::getInstance().enforceFameCaps(c->getId(), c->getAllegiance());
CFameManager::getInstance().enforceFameCaps(c->getId(), c->getOrganization(), c->getAllegiance());
// set tribe fame threshold and clamp fame if necessary
CFameManager::getInstance().setAndEnforceTribeFameCap(c->getId(), c->getAllegiance());
fame = CFameInterface::getInstance().getFameIndexed(c->getId(), factionIndex);

Loading…
Cancel
Save