fix precedence error

This commit is contained in:
Kistaro Windrider 2025-05-31 22:27:03 -07:00
parent 2964159858
commit 3151db5430
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -1533,7 +1533,7 @@ function flotilla:load(ulc_cx, ulc_cy, lvl)
-- alternate is requested -- alternate is requested
-- and we allow alternates -- and we allow alternates
-- for this type of ship -- for this type of ship
ship_t+=(uv>>ship_t&0x1)&(f&0x10>>4) ship_t+=(uv>>ship_t&0x1)&((f&0x10)>>4)
add(row, self.ship_bases[ship_t].new{col=cx-ulc_cx}) add(row, self.ship_bases[ship_t].new{col=cx-ulc_cx})
end end
end end