v0.9.3: fixed rare minor graphical bugs in buff indicator
This commit is contained in:
parent
5b2df8b7d5
commit
86dd8bd810
|
@ -26,6 +26,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.PixelScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.windows.WndInfoBuff;
|
||||
import com.watabou.gltextures.SmartTexture;
|
||||
import com.watabou.gltextures.TextureCache;
|
||||
|
@ -192,6 +193,7 @@ public class BuffIndicator extends Component {
|
|||
for (BuffIcon icon : buffIcons.values()){
|
||||
icon.updateIcon();
|
||||
icon.setRect(x + pos * (SIZE + 2), y, 9, 12);
|
||||
PixelScene.align(icon);
|
||||
pos++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user