summaryrefslogtreecommitdiff
path: root/src/code/game.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2022-06-24 16:45:05 -0700
committerGitHub <noreply@github.com>2022-06-24 19:45:05 -0400
commit397e481f9a3eedf2123cc2fc149468a96b473e88 (patch)
tree13e01be757b8c9bad3412e2fb5c63557e1e207c2 /src/code/game.c
parentfe7afb9b0708a46107f32f0de89d52dbca176049 (diff)
Fix misc 15 (#1298)
* Use `SCENE_` enum more * Decimal for pos in `D_8011F9B8` * `__osEventStateTab`: length `OS_NUM_EVENTS + 1` -> `OS_NUM_EVENTS` * thone -> throne * `s` on local data * minor sfxId cleanup * Run formatter * Fixup 0x19 + 1 = 0x1A, not 0x20 lol * Tlut -> TLUT * DemoKankyo params usage cleanup * Some proofreading (up to z_actor.c) * Revert 0 -> sfxId, add todo comment (sfxId=0 is weird apparently) * `sZdWaterBox` -> `sZorasDomainWaterBox` * `msgMode == MSGMODE_`, not `GAMEMODE_` (my bad Sadge)
Diffstat (limited to 'src/code/game.c')
-rw-r--r--src/code/game.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/code/game.c b/src/code/game.c
index 11a68e4b4..34a7c59b4 100644
--- a/src/code/game.c
+++ b/src/code/game.c
@@ -23,8 +23,7 @@ void GameState_FaultPrint(void) {
}
void GameState_SetFBFilter(Gfx** gfx) {
- Gfx* gfxP;
- gfxP = *gfx;
+ Gfx* gfxP = *gfx;
if ((R_FB_FILTER_TYPE > 0) && (R_FB_FILTER_TYPE < 5)) {
D_801664F0.type = R_FB_FILTER_TYPE;