Skip to content

Commit bf1959c

Browse files
fixed gapple icon bounce being inaccurate
1 parent ba446c7 commit bf1959c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

source/HealthIcon.hx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class HealthIcon extends FlxSprite
2626
super.update(elapsed);
2727

2828
if (sprTracker != null)
29-
setPosition(sprTracker.x + sprTracker.width + 12, sprTracker.y - 30);
29+
setPosition(sprTracker.x + sprTracker.width + 10, sprTracker.y - 30);
3030
}
3131

3232
public function swapOldIcon() {
@@ -71,13 +71,6 @@ class HealthIcon extends FlxSprite
7171
}
7272
}
7373

74-
override function updateHitbox()
75-
{
76-
super.updateHitbox();
77-
offset.x = iconOffsets[0];
78-
offset.y = iconOffsets[1];
79-
}
80-
8174
public function getCharacter():String {
8275
return char;
8376
}

0 commit comments

Comments
 (0)