Skip to content

Commit d2cb574

Browse files
kokekanondudantas
authored andcommitted
fix: colored text loot in OTC 13.40 (#2929)
1 parent 39a7369 commit d2cb574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/creatures/creature.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ bool Creature::dropCorpse(std::shared_ptr<Creature> lastHitCreature, std::shared
809809
auto monster = getMonster();
810810
if (monster && !monster->isRewardBoss()) {
811811
std::ostringstream lootMessage;
812-
auto collorMessage = player->getProtocolVersion() > 1200 && player->getOperatingSystem() < CLIENTOS_OTCLIENT_LINUX;
812+
auto collorMessage = player->getProtocolVersion() > 1200;
813813
lootMessage << "Loot of " << getNameDescription() << ": " << corpseContainer->getContentDescription(collorMessage) << ".";
814814
auto suffix = corpseContainer->getAttribute<std::string>(ItemAttribute_t::LOOTMESSAGE_SUFFIX);
815815
if (!suffix.empty()) {

0 commit comments

Comments
 (0)