Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 6221af8

Browse files
committed
Fixed glows
1 parent 87be473 commit 6221af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Managers/PostProcessMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ namespace RTE {
192192
for (const PostEffect &postEffect : screenRelativeEffectsList) {
193193
// Make sure we won't be adding any effects to a part of the screen that is occluded by menus and such
194194
if (postEffect.m_Pos.GetFloorIntX() > screenOcclusionOffsetX && postEffect.m_Pos.GetFloorIntY() > screenOcclusionOffsetY && postEffect.m_Pos.GetFloorIntX() < occludedOffsetX && postEffect.m_Pos.GetFloorIntY() < occludedOffsetY) {
195-
m_PostSceneEffects.emplace_back(postEffect.m_Pos + targetBitmapOffset, postEffect.m_Bitmap, postEffect.m_BitmapHash, postEffect.m_Strength, postEffect.m_Angle);
195+
m_PostScreenEffects.emplace_back(postEffect.m_Pos + targetBitmapOffset, postEffect.m_Bitmap, postEffect.m_BitmapHash, postEffect.m_Strength, postEffect.m_Angle);
196196
}
197197
}
198198
// Adjust glow areas for the player screen's position on the final buffer

0 commit comments

Comments
 (0)