mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-20 19:49:47 +07:00
Suppressed compiler warning
This commit is contained in:
parent
b1d6988785
commit
43c4e32ecb
@ -83,7 +83,8 @@ public class WaygatePanel extends WidgetGroup implements Disposable {
|
||||
down = new TextureRegionDrawable(waygateicons.getTexture(4));
|
||||
}};
|
||||
|
||||
Array<Levels.Entry>[] waypoints = new Array[5];
|
||||
@SuppressWarnings("unchecked")
|
||||
Array<Levels.Entry>[] waypoints = (Array<Levels.Entry>[]) new Array[5];
|
||||
for (int i = 0; i < waypoints.length; i++) waypoints[i] = new Array<>(9);
|
||||
for (Levels.Entry level : Riiablo.files.Levels) {
|
||||
if (level.Waypoint != 0xFF) {
|
||||
|
Loading…
Reference in New Issue
Block a user