diff options
| author | Ada <60364512+GreatArgorath@users.noreply.github.com> | 2022-08-17 13:20:15 +0100 |
|---|---|---|
| committer | Ada <60364512+GreatArgorath@users.noreply.github.com> | 2022-08-17 13:20:15 +0100 |
| commit | 4a2d9d8a4c0474c12e300ced2088fa77eea0eff0 (patch) | |
| tree | bfb57f51ca74ddf661d284b40641bb06a5543f3e | |
| parent | 6206cd7db004ca8e6a9afa1150e539ad28ea0f89 (diff) | |
Fixes ToT Fog
| -rw-r--r-- | libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp b/libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp index e5c041f17..92ab826a9 100644 --- a/libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp +++ b/libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp @@ -2112,6 +2112,10 @@ static void gfx_run_dl(Gfx* cmd) { switch (opcode) { // RSP commands: + case G_LOAD_UCODE: + rsp.fog_mul = 0; + rsp.fog_offset = 0; + break; case G_MARKER: { cmd++; |
