Skip to content

Commit b0fd0f8

Browse files
committed
Fix patchtext
1 parent 9f54415 commit b0fd0f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/d_dehacked.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ static int PatchText(int oldSize)
20532053
}
20542054

20552055
good = ReadChars(&oldStr, oldSize);
2056-
good = good || ReadChars(&newStr, newSize);
2056+
good = ReadChars(&newStr, newSize) || good;
20572057

20582058
if (!good)
20592059
{

0 commit comments

Comments
 (0)