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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user