Onyl show mirrored object hitresults if autopilot is active >.<
This commit is contained in:
parent
5ee4760e7b
commit
ea45767fa1
|
@ -1198,7 +1198,7 @@ public class GameData {
|
|||
|
||||
public void sendInitialSliderResult(int time, float x, float y, Color color, Color mirrorcolor) {
|
||||
hitResultList.add(new HitObjectResult(time, HIT_SLIDER_INITIAL, x, y, color, null, null, true, false));
|
||||
if (!Dancer.mirror) {
|
||||
if (!Dancer.mirror || !GameMod.AUTO.isActive()) {
|
||||
return;
|
||||
}
|
||||
float[] m = Utils.mirrorPoint(x, y);
|
||||
|
|
|
@ -189,7 +189,7 @@ public class Circle extends GameObject {
|
|||
if (trackPosition > time + hitResultOffset[GameData.HIT_50]) {
|
||||
if (isAutoMod) {// "auto" mod: catch any missed notes due to lag
|
||||
data.hitResult(time, GameData.HIT_300, x, y, color, comboEnd, hitObject, HitObjectType.CIRCLE, true, 0, null, false);
|
||||
if (Dancer.mirror) {
|
||||
if (Dancer.mirror && GameMod.AUTO.isActive()) {
|
||||
float[] m = Utils.mirrorPoint(x, y);
|
||||
data.hitResult(time, GameData.HIT_300, m[0], m[1], mirrorColor, comboEnd, hitObject, HitObjectType.CIRCLE, true, 0, null, false, false);
|
||||
}
|
||||
|
@ -204,7 +204,7 @@ public class Circle extends GameObject {
|
|||
else if (isAutoMod) {
|
||||
if (Math.abs(trackPosition - time) < hitResultOffset[GameData.HIT_300]) {
|
||||
data.hitResult(time, GameData.HIT_300, x, y, color, comboEnd, hitObject, HitObjectType.CIRCLE, true, 0, null, false);
|
||||
if (Dancer.mirror) {
|
||||
if (Dancer.mirror && GameMod.AUTO.isActive()) {
|
||||
float[] m = Utils.mirrorPoint(x, y);
|
||||
data.hitResult(time, GameData.HIT_300, m[0], m[1], mirrorColor, comboEnd, hitObject, HitObjectType.CIRCLE, true, 0, null, false, false);
|
||||
}
|
||||
|
|
|
@ -429,7 +429,7 @@ public class Slider extends GameObject {
|
|||
data.hitResult(hitObject.getTime() + (int) sliderTimeTotal, result,
|
||||
cx, cy, color, comboEnd, hitObject, type, sliderHeldToEnd,
|
||||
currentRepeats + 1, curve, sliderHeldToEnd);
|
||||
if (Dancer.mirror) {
|
||||
if (Dancer.mirror && GameMod.AUTO.isActive()) {
|
||||
float[] m = Utils.mirrorPoint(cx, cy);
|
||||
data.hitResult(hitObject.getTime() + (int) sliderTimeTotal, result,
|
||||
m[0], m[1], mirrorColor, comboEnd, hitObject, type, sliderHeldToEnd,
|
||||
|
|
Loading…
Reference in New Issue
Block a user