summaryrefslogtreecommitdiff
path: root/src/equipment.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-15 11:06:32 -0700
committerIra Rice <irarice@gmail.com>2009-01-15 11:06:32 -0700
commit10a9dbacd9334caede10f1b21d42cdf7e1efcd03 (patch)
treedef2baead68de5a9ccc842e25b3cdcfe9a638c9b /src/equipment.cpp
parente7f4e78f76972ca3882b9d2763ae9cab31675d3a (diff)
downloadMana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.gz
Mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.bz2
Mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.xz
Mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.zip
Style cleanups throughout most of the code. Splitting function type from
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
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);