cleanup: move PLATFORM_N64 preprocessor checks for fov zoom into a separate macro to reduce clutter

This commit is contained in:
Phnod committed 2023-09-01 09:48:53 -04:00
1 parent 917209cb65
commit 5033c096a2
5 files changed
+17 -43

No files matched your search

+6
View File
@@ -538,4 +538,10 @@ extern s32 g_PlayerFovAffectsZoom;
extern f32 g_PlayerFovZoomMultiplier;
#endif
#ifdef PLATFORM_N64
#define ADJUST_ZOOM_FOV(x) (x)
#else
#define ADJUST_ZOOM_FOV(x) ((x) * g_PlayerFovZoomMultiplier)
#endif
#endif