Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-07 17:14:27 +0000
committerStijn Buys <ingar@osirion.org>2008-10-07 17:14:27 +0000
commitf54bd48a884e4e3c95818f042a4b2418a6e070a4 (patch)
tree73e82729a2f97b58e94ffd6944ac1ad47bf8314e /src/core/application.cc
parentf8d1ee921c83b7b148883b3ee16e4ec9c776d6db (diff)
working button click
Diffstat (limited to 'src/core/application.cc')
-rw-r--r--src/core/application.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/application.cc b/src/core/application.cc
index c02db9b..3f08a36 100644
--- a/src/core/application.cc
+++ b/src/core/application.cc
@@ -348,12 +348,15 @@ void Application::connect(std::string const &host)
if (!application_game->running()) {
delete application_game;
application_game = 0;
+ } else {
+ notify_connect();
}
} else {
application_game = new GameServer();
if (application_game->running()) {
con_print << "^BConnected to local game.\n";
+ notify_connect();
} else {
delete application_game;
application_game = 0;
@@ -544,4 +547,8 @@ void Application::notify_disconnect()
}
+void Application::notify_connect()
+{
+}
+
}