summaryrefslogtreecommitdiff
path: root/src/inventorymanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventorymanager.cpp')
-rw-r--r--src/inventorymanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventorymanager.cpp b/src/inventorymanager.cpp
index ed18126d0..26cabc25f 100644
--- a/src/inventorymanager.cpp
+++ b/src/inventorymanager.cpp
@@ -62,7 +62,7 @@ void InventoryLocation::serialize(std::ostream &os) const
os<<"detached:"<<name;
break;
default:
- assert(0);
+ FATAL_ERROR("Unhandled inventory location type");
}
}