From 36bf685462f371b306f51a29331e7a1d86ce3a91 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Sep 2014 20:22:52 +0300 Subject: add server feature haveItemColors. --- src/being/localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being') diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index d5e32316c..6917cc465 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -858,7 +858,7 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, const int amount, else { std::string str; - if (serverVersion > 0) + if (Net::getServerFeatures()->haveItemColors()) str = itemInfo.getName(color); else str = itemInfo.getName(); -- cgit v1.2.3-70-g09d2