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

@ -1311,7 +1311,7 @@ NLMISC_COMMAND(getFame, "get/set fame of player", "<uid> <faction> [<value>] [<e
CFameManager::getInstance().enforceFameCaps(c->getId(), c->getOrganization(), c->getAllegiance()); CFameManager::getInstance().enforceFameCaps(c->getId(), c->getOrganization(), c->getAllegiance());
// set tribe fame threshold and clamp fame if necessary // set tribe fame threshold and clamp fame if necessary
CFameManager::getInstance().setAndEnforceTribeFameCap(c->getId(), c->getAllegiance()); CFameManager::getInstance().setAndEnforceTribeFameCap(c->getId(), c->getAllegiance());
fame = CFameInterface::getInstance().getFameIndexed(c->getId(), factionIndex); fame = CFameInterface::getInstance().getFameIndexed(c->getId(), c->getOrganization(), factionIndex);
} }
log.displayNL("%d", fame); log.displayNL("%d", fame);

Loading…
Cancel
Save