Fix special weapon alignment. Fixes #1389

This commit is contained in:
Phillip Thelen 2020-10-27 16:14:29 +01:00
parent feaea3745b
commit 8b985ff0c0

View file

@ -368,7 +368,9 @@ class AvatarView : View {
if (offset != null) {
when (layerName) {
"head_special_0" -> offset = PointF(offset.x-3, offset.y-18)
"weapon_special_0" -> offset = PointF(offset.x-3, offset.y-18)
"weapon_special_0" -> offset = PointF(offset.x-12, offset.y+4)
"weapon_special_1" -> offset = PointF(offset.x-12, offset.y+4)
"weapon_special_critical" -> offset = PointF(offset.x-12, offset.y+4)
"head_special_1" -> offset = PointF(offset.x, offset.y+3)
}