Skip to content

Commit 5207f40

Browse files
committed
GAME_IS doesn't work with SoD
1 parent 9908339 commit 5207f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

happy/itm/fix_enchantment.tpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ PATCH_IF enchantment = 0
1414
AND magic_flag != 0
1515
AND VARIABLE_IS_SET $item_type(~%type%~)
1616
AND NOT (GAME_IS "bg2ee eet" AND (~%SOURCE_FILE%~ STR_EQ ~ax1h07.itm~)) // bala's axe
17-
AND NOT (GAME_IS "bgee eet sod" AND (~%SOURCE_FILE%~ STR_EQ ~staf25.itm~)) // ossifier
17+
AND NOT ((GAME_IS "bgee eet" OR GAME_INCLUDES ~sod~) AND (~%SOURCE_FILE%~ STR_EQ ~staf25.itm~)) // ossifier
1818
BEGIN
1919
PATCH_PRINT ~HI61: %SOURCE_FILE% - magical flag bit 6 and enchantment level %enchantment% are inconsistent.~
2020
END

0 commit comments

Comments
 (0)