Skip to content

Commit 00370ff

Browse files
committed
scpt: additional flashbang fix
1 parent eb5e334 commit 00370ff

File tree

1 file changed

+1
-1
lines changed
  • source/SplinterCellPandoraTomorrow.WidescreenFix

1 file changed

+1
-1
lines changed

source/SplinterCellPandoraTomorrow.WidescreenFix/Engine.ixx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void __fastcall FCanvasUtilDrawTileHook(void* _this, uint32_t EDX, float X, floa
119119
std::wstring_view curTextureName(UObject::GetFullName(Texture, 0, buffer));
120120

121121
// fix flashbang drawing
122-
if (curTextureName == L"FinalBlend Transient.FinalBlend6")
122+
if (curTextureName.starts_with(L"FinalBlend Transient.FinalBlend"))
123123
X -= Screen.fHudOffset;
124124
}
125125
}

0 commit comments

Comments
 (0)