more small cleanups

This commit is contained in:
yugecin 2018-10-23 02:07:54 +02:00
parent 2ae438ced2
commit f92270fa22
No known key found for this signature in database
GPG Key ID: 2C5AC035A7068E44
2 changed files with 2 additions and 4 deletions

View File

@ -1485,7 +1485,7 @@ public class Game extends ComplexOpsuState {
super.enter();
File replaydir = new File("d:/Users/Robin/games/osu/osr-stuff-master/furioso/");
File replaydir = new File("d:/Users/Robin/games/osu/osr-stuff-master/xi/");
if (!replaydir.exists()) {
bubNotifs.sendf(Colors.BUB_RED, "replay folder '%s' does not exist", replaydir.getAbsolutePath());
displayContainer.switchStateInstantly(songMenuState);

View File

@ -129,9 +129,7 @@ public class ReplayCursor
public void setCursorPosition(int delta, int mouseX, int mouseY) {
nowtime = System.currentTimeMillis();
if ((lastPosition.x == 0 && lastPosition.y == 0) || !addCursorPoints(lastPosition.x, lastPosition.y, mouseX, mouseY)) {
//trail.add(new Trailpart(mouseX, mouseY));
}
addCursorPoints(lastPosition.x, lastPosition.y, mouseX, mouseY);
lastPosition.move(mouseX, mouseY);
int removecount = 0;