From 493e4317e19725e2de2d51753e5c1906bf9c64ba Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 7 Dec 2014 23:27:31 +0000 Subject: Implemented messageboxes and the ability for the game module to send them to remote clients, send a messagebox if the player's ship is destroyed, this fixes having to press the respawn button twice. added messageboxes on network connection failures. --- src/client/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/mainwindow.cc') diff --git a/src/client/mainwindow.cc b/src/client/mainwindow.cc index 1d9f4ff..aa113a7 100644 --- a/src/client/mainwindow.cc +++ b/src/client/mainwindow.cc @@ -126,7 +126,7 @@ void MainWindow::draw() } else if (core::localcontrol()->state() == core::Entity::Destroyed) { mainwindow_gamewindow->hide(); - mainwindow_mainmenu->show_menu("respawn"); + // game module sends a messagebox to take approriate action } else if (mainwindow_gamewindow->hidden()) { mainwindow_gamewindow->show(); -- cgit v1.2.3