summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/ea/inventoryhandler.cpp3
-rw-r--r--src/net/manaserv/inventoryhandler.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index faf0183a..c616464a 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -484,10 +484,9 @@ size_t InventoryHandler::getSize(StorageType type) const
return 300;
case GUILD_STORAGE:
return 1000;
- case CART:
+ default:
return 0;
}
-
}
} // namespace EAthena
diff --git a/src/net/manaserv/inventoryhandler.cpp b/src/net/manaserv/inventoryhandler.cpp
index 9bf727d1..f62da41c 100644
--- a/src/net/manaserv/inventoryhandler.cpp
+++ b/src/net/manaserv/inventoryhandler.cpp
@@ -179,10 +179,9 @@ size_t InventoryHandler::getSize(StorageType type) const
case STORAGE:
case GUILD_STORAGE:
return 300;
- case CART:
+ default:
return 0;
}
-
}
} // namespace ManaServ