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/game/base/ship.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game') diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc index 9a4218f..0dd5415 100644 --- a/src/game/base/ship.cc +++ b/src/game/base/ship.cc @@ -434,6 +434,7 @@ void Ship::explode() // make the player watch his death if (owner()->control() == this) { owner()->set_view(this); + owner()->messagebox("Your ship has been destroyed.", "Respawn", "respawn"); } // cargo loss % is set by the g_cargoloss CVar -- cgit v1.2.3