aboutsummaryrefslogtreecommitdiff
path: root/src/rollback_interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rollback_interface.cpp')
-rw-r--r--src/rollback_interface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rollback_interface.cpp b/src/rollback_interface.cpp
index 028bd0424..b3f457029 100644
--- a/src/rollback_interface.cpp
+++ b/src/rollback_interface.cpp
@@ -210,6 +210,7 @@ bool RollbackAction::applyRevert(Map *map, InventoryManager *imgr, IGameDef *gam
<< inventory_index << " too large in "
<< "inventory list \"" << inventory_list << "\" in "
<< inventory_location << std::endl;
+ return false;
}
// If item was added, take away item, otherwise add removed item
if (inventory_add) {