diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-25 23:42:57 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-25 23:42:57 +0100 |
commit | cd20fb3432498b8871401bdd65a143197e2a6538 (patch) | |
tree | 1edd3e20e3501de5315fa5bfc46b8673ad40d5dd /src/equipment.cpp | |
parent | 4ba8c80791c15c144d66e6a9b23e878d3313fa26 (diff) | |
download | mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.gz mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.bz2 mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.xz mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.zip |
A host of code style fixes
Mostly putting & and * in the right place and making some getters const.
Diffstat (limited to 'src/equipment.cpp')
-rw-r--r-- | src/equipment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/equipment.cpp b/src/equipment.cpp index 63743263..c8e58b8c 100644 --- a/src/equipment.cpp +++ b/src/equipment.cpp @@ -69,7 +69,7 @@ void Equipment::setEquipment(int index, int id) void Equipment::setEquipment(int index, int inventoryIndex) { mEquipment[index] = inventoryIndex; - Item* item = player_node->getInventory()->getItem(inventoryIndex); + Item *item = player_node->getInventory()->getItem(inventoryIndex); if (item) item->setEquipped(true); } |