fix cursed factions (broke it during bit32 changes)

This commit is contained in:
Enno Rehling 2015-09-06 13:20:37 +02:00
parent fd3ff16723
commit b33babd316
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ local function curse(file)
f = get_faction(line)
if not f then
print("no such faction: " .. line)
elseif bitset(f.flags, 16) then
elseif not bitset(f.flags, 16) then
print("cursing " .. tostring(f))
f.flags = f.flags + 16
else