From cc18095cded14f5e7e3f049e47fca2224134b647 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 19 Sep 2010 19:44:13 +0000 Subject: text rendering cleanups, inventory capacity & cargo volume --- src/client/inventorylistview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/inventorylistview.cc') 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); } -- cgit v1.2.3