aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/items/inventory.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-12-20 18:26:25 -0500
committerMatthew Hoops2011-12-20 18:26:25 -0500
commita600dcb56a9633ebfae0d726480352b6f2e9b3ba (patch)
treefe0707cb889f8f5f424bf97ba280d5aede49e73c /engines/pegasus/items/inventory.cpp
parent5fe762e7cdfd2ca72129abe2eac181ae5402aaff (diff)
downloadscummvm-rg350-a600dcb56a9633ebfae0d726480352b6f2e9b3ba.tar.gz
scummvm-rg350-a600dcb56a9633ebfae0d726480352b6f2e9b3ba.tar.bz2
scummvm-rg350-a600dcb56a9633ebfae0d726480352b6f2e9b3ba.zip
PEGASUS: Some space/misc cleanup
Diffstat (limited to 'engines/pegasus/items/inventory.cpp')
-rwxr-xr-xengines/pegasus/items/inventory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/pegasus/items/inventory.cpp b/engines/pegasus/items/inventory.cpp
index e30fcac368..16cced3267 100755
--- a/engines/pegasus/items/inventory.cpp
+++ b/engines/pegasus/items/inventory.cpp
@@ -40,7 +40,7 @@ Inventory::~Inventory() {
void Inventory::setWeightLimit(WeightType limit) {
_weightLimit = limit;
- // *** What to do if the new weight limit is greater than the current weight?
+ // *** What to do if the new weight limit is greater than the current weight?
}
WeightType Inventory::getWeight() {
@@ -52,7 +52,7 @@ WeightType Inventory::getWeight() {
return result;
}
-// If the item already belongs, just return kInventoryOK.
+// If the item already belongs, just return kInventoryOK.
InventoryResult Inventory::addItem(Item *item) {
if (itemInInventory(item))
return kInventoryOK;
@@ -134,7 +134,7 @@ Item *Inventory::findItemByID(ItemID id) {
return _inventoryList.findItemByID(id);
}
-// Return -1 if not found.
+// Return -1 if not found.
int32 Inventory::findIndexOf(Item *item) {
uint32 i = 0;
@@ -145,7 +145,7 @@ int32 Inventory::findIndexOf(Item *item) {
return -1;
}
-// Return -1 if not found.
+// Return -1 if not found.
int32 Inventory::findIndexOf(ItemID id) {
uint32 i = 0;