diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
commit | fd050698f74b5dc7a9867bc93ba6b7c65ef2462f (patch) | |
tree | 246017e7d1b399e60a5d7b97a7106cd75587b88f /src/beingequipbackend.cpp | |
parent | 4228763829f71ec4db50ed185483d7707c5e47eb (diff) | |
download | mv-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz mv-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2 mv-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz mv-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip |
Remove getter for inventoryHandler.
Diffstat (limited to 'src/beingequipbackend.cpp')
-rw-r--r-- | src/beingequipbackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/beingequipbackend.cpp b/src/beingequipbackend.cpp index 5284a4d84..e6b618ade 100644 --- a/src/beingequipbackend.cpp +++ b/src/beingequipbackend.cpp @@ -38,7 +38,7 @@ BeingEquipBackend::BeingEquipBackend(Being *const being) for (size_t f = 0; f < sz; f ++) { - const int idx = Net::getInventoryHandler()-> + const int idx = inventoryHandler-> convertFromServerSlot(static_cast<int>(f)); const int id = being->mSpriteIDs[f]; if (id > 0 && idx >= 0 && idx < EQUIPMENT_SIZE) |