Fix spawn issues in bot modes

It fixes https://github.com/assaultcube/AC/issues/62 : "Respawning in bot
modes doesn't reset camera".
Also only 1 click will be needed to spawn, because it looks, that note in:
https://github.com/assaultcube/AC/commit/f9ec71cbab638189ea4fa3f664e2584605e2ba0e
isn't true now.
This commit is contained in:
aurhat
2015-01-24 12:21:51 +01:00
parent d86e1a9581
commit 3470b49963
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -883,7 +883,7 @@ void checkinput()
break;
}
}
mousemove(tdx, tdy);
if(tdx || tdy) mousemove(tdx, tdy);
}
VARF(gamespeed, 10, 100, 1000, if(multiplayer()) gamespeed = 100);