diff --git a/src/map/ENC/mapdata.cpp b/src/map/ENC/mapdata.cpp index f0c613f5..67d21d9a 100644 --- a/src/map/ENC/mapdata.cpp +++ b/src/map/ENC/mapdata.cpp @@ -57,7 +57,7 @@ static QMap orderMap = orderMapInit(); static uint order(uint type) { - uint st = (type>>16 == BUAARE) ? type : type && 0xFFFF; + uint st = (type>>16 == BUAARE) ? type : type & 0xFFFF; QMap::const_iterator it = orderMap.find(st); return (it == orderMap.constEnd()) ? type + 512 : it.value(); }