diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/buymenu.cc | 2 | ||||
-rw-r--r-- | src/client/gamewindow.cc | 2 | ||||
-rw-r--r-- | src/client/inventorywindow.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/client/buymenu.cc b/src/client/buymenu.cc index 6812bce..ae941f8 100644 --- a/src/client/buymenu.cc +++ b/src/client/buymenu.cc @@ -77,7 +77,7 @@ void BuyMenu::set_item(core::Info *info) { menu_infotext.clear(); menu_namelabel->set_text(0); - menu_modelview->set_modelname(0); + menu_modelview->clear(); menu_buybutton->hide(); menu_modelview->hide(); menu_msgtext->hide(); diff --git a/src/client/gamewindow.cc b/src/client/gamewindow.cc index a2693e1..929cfe4 100644 --- a/src/client/gamewindow.cc +++ b/src/client/gamewindow.cc @@ -196,7 +196,7 @@ void GameWindow::show_menu(const std::string & args) if (label.compare("buy") == 0) { // buy menu, single item - unsigned long id; + unsigned int id; if (argstr >> id) { // hide other menus diff --git a/src/client/inventorywindow.cc b/src/client/inventorywindow.cc index 0d78025..2b956c4 100644 --- a/src/client/inventorywindow.cc +++ b/src/client/inventorywindow.cc @@ -361,7 +361,7 @@ void InventoryWindow::set_info(const core::Info *info, const int amount) inventorywindow_ejectslider->hide(); if (!info) { - inventorywindow_modelview->set_modelname(0); + inventorywindow_modelview->clear(); inventorywindow_modeltitlelabel->set_text(""); inventorywindow_modelnamelabel->set_text(""); } else { |