diff options
Diffstat (limited to 'src/client/inventorylistview.cc')
-rw-r--r-- | src/client/inventorylistview.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/inventorylistview.cc b/src/client/inventorylistview.cc index d2752d6..0126ff4 100644 --- a/src/client/inventorylistview.cc +++ b/src/client/inventorylistview.cc @@ -64,7 +64,7 @@ void InventoryListView::set_inventory(core::Inventory *inventory, core::InfoType void InventoryListView::draw() { - if (listview_timestamp != listview_inventory->timestamp()) { + if (listview_inventory && (listview_timestamp != listview_inventory->timestamp())) { set_inventory(listview_inventory, listview_infotype); } |