summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
605710e)
Only lower 3 bits indicate tileset. Other (unknown) bits are also set
in some maps, resulting in an incorrect detection.
my $self = shift;
# ERA: 0 1 2 3 4 5 6 7
my @worlds = qw(badlands platform install ashworld jungle desert ice twilight);
my $self = shift;
# ERA: 0 1 2 3 4 5 6 7
my @worlds = qw(badlands platform install ashworld jungle desert ice twilight);
- return $worlds[$self->era] || "?";
+ return $worlds[$self->era & 7] || "?";