diff options
author | Stijn Buys <ingar@osirion.org> | 2014-12-07 23:27:31 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2014-12-07 23:27:31 +0000 |
commit | 493e4317e19725e2de2d51753e5c1906bf9c64ba (patch) | |
tree | c46831d6d661a79b5da6580d4472d39a615fedea /src/game | |
parent | 941c64546ca22b87a9153d36e9e3fe59c18abafe (diff) |
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.
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/base/ship.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 |