Merge pull request #8625 from metayan/fix_rendering_exception
Fix rendering_exception leading to "Could not draw chosen area"
This commit is contained in:
commit
4c7d6b90b5
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ public class BinaryMapDataObject {
|
|||
}
|
||||
|
||||
public boolean containsAdditionalType(int cachedType) {
|
||||
if (cachedType != -1) {
|
||||
if (cachedType != -1 && additionalTypes != null) {
|
||||
for (int i = 0; i < additionalTypes.length; i++) {
|
||||
if (additionalTypes[i] == cachedType) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue