(svn r2748) Remove unused cruft from the main loop

This commit is contained in:
tron
2005-07-29 16:40:29 +00:00
parent d2a891db7e
commit 452f8fee2a
6 changed files with 13 additions and 24 deletions

View File

@@ -215,7 +215,7 @@ static void DedicatedHandleKeyInput(void)
IConsoleCmdExec(input_line); // execute command
}
static int DedicatedVideoMainLoop(void)
static void DedicatedVideoMainLoop(void)
{
uint32 next_tick;
uint32 cur_ticks;
@@ -257,14 +257,12 @@ static int DedicatedVideoMainLoop(void)
if (!_networking) {
DEBUG(net, 1)("Dedicated server could not be launched. Aborting.");
return ML_QUIT;
return;
}
while (true) {
while (!_exit_game) {
InteractiveRandom(); // randomness
if (_exit_game) return ML_QUIT;
if (!_dedicated_forks)
DedicatedHandleKeyInput();