summaryrefslogtreecommitdiff
path: root/src/equipment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/equipment.cpp')
-rw-r--r--src/equipment.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/equipment.cpp b/src/equipment.cpp
index f1d1d4f2..828de46b 100644
--- a/src/equipment.cpp
+++ b/src/equipment.cpp
@@ -32,8 +32,7 @@ Equipment::Equipment():
std::fill_n(mEquipment, EQUIPMENT_SIZE, 0);
}
-void
-Equipment::setEquipment(int index, int inventoryIndex)
+void Equipment::setEquipment(int index, int inventoryIndex)
{
mEquipment[index] = inventoryIndex;
Item* item = player_node->getInventory()->getItem(inventoryIndex);