mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-20 08:13:48 -04:00
Enhancement to disable heat haze (#6663)
This commit is contained in:
committed by
GitHub
parent
2d962bbb8c
commit
ef014a35e6
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "soh/frame_interpolation.h"
|
||||
#include "soh/Enhancements/controls/Mouse.h"
|
||||
#include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h"
|
||||
|
||||
s16 Camera_ChangeSettingFlags(Camera* camera, s16 setting, s16 flags);
|
||||
s32 Camera_ChangeModeFlags(Camera* camera, s16 mode, u8 flags);
|
||||
@@ -7363,7 +7364,8 @@ s32 Camera_UpdateWater(Camera* camera) {
|
||||
|
||||
s32 Camera_UpdateHotRoom(Camera* camera) {
|
||||
camera->distortionFlags &= ~DISTORTION_HOT_ROOM;
|
||||
if (camera->play->roomCtx.curRoom.behaviorType2 == ROOM_BEHAVIOR_TYPE2_3) {
|
||||
if (GameInteractor_Should(VB_HOT_ROOM_DISTORTION,
|
||||
camera->play->roomCtx.curRoom.behaviorType2 == ROOM_BEHAVIOR_TYPE2_3)) {
|
||||
camera->distortionFlags |= DISTORTION_HOT_ROOM;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user