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

Commit

Permalink
Fixed glows
Browse files Browse the repository at this point in the history
  • Loading branch information
Causeless committed Nov 21, 2023
1 parent 87be473 commit 6221af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Managers/PostProcessMan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ namespace RTE {
for (const PostEffect &postEffect : screenRelativeEffectsList) {
// Make sure we won't be adding any effects to a part of the screen that is occluded by menus and such
if (postEffect.m_Pos.GetFloorIntX() > screenOcclusionOffsetX && postEffect.m_Pos.GetFloorIntY() > screenOcclusionOffsetY && postEffect.m_Pos.GetFloorIntX() < occludedOffsetX && postEffect.m_Pos.GetFloorIntY() < occludedOffsetY) {
m_PostSceneEffects.emplace_back(postEffect.m_Pos + targetBitmapOffset, postEffect.m_Bitmap, postEffect.m_BitmapHash, postEffect.m_Strength, postEffect.m_Angle);
m_PostScreenEffects.emplace_back(postEffect.m_Pos + targetBitmapOffset, postEffect.m_Bitmap, postEffect.m_BitmapHash, postEffect.m_Strength, postEffect.m_Angle);
}
}
// Adjust glow areas for the player screen's position on the final buffer
Expand Down

0 comments on commit 6221af8

Please sign in to comment.