mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-03-13 11:30:01 +07:00
Fixed crash when changing dt1 which was viewing non-zero tile index
This commit is contained in:
parent
2b97989095
commit
f96505ecb5
@ -1580,6 +1580,10 @@ public class MPQViewer {
|
||||
|
||||
@Override
|
||||
protected void changed(ChangeEvent event, Actor actor) {
|
||||
if (delegate == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (actor == slFrameIndex) {
|
||||
int id = (int) slFrameIndex.getValue();
|
||||
delegate.setRegion(dt1.getTexture(id));
|
||||
|
Loading…
Reference in New Issue
Block a user