diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-16 09:39:02 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-16 09:39:02 +0000 |
commit | c186b58679c50b06966997d33d5e91a99c5621ea (patch) | |
tree | c666439f63f62825e2fff419728d4c026661f9ed /src/server | |
parent | 11acb6ebad36c20de5f22fb5b7edbf11d8b29254 (diff) |
fixes compilation on soliter, abort dedicated server on error
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/server.cc b/src/server/server.cc index d68d278..49af573 100644 --- a/src/server/server.cc +++ b/src/server/server.cc @@ -72,7 +72,7 @@ void Server::run() server::Timer timer; float elapsed = 0; - while(true) { + while(connected()) { timer.mark(); frame(elapsed); elapsed = timer.elapsed(); |