summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 51eb24e1..e45e094c 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -67,7 +67,7 @@ void Inventory::setItem(int index, int id, int quantity)
{
if (index < 0 || index >= getSize())
{
- logger->log("Warning: invalid inventory index: %d", index);
+ Log::warn("Invalid inventory index: %d", index);
return;
}