mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-02 12:45:57 -04:00
port pr 730 from the decomp (#445)
* port pr 730 from the decomp Co-Authored-By: Jed Grabman <7600154+jedgrabman@users.noreply.github.com> * rename file * small fix * finish fix time trial --------- Co-authored-by: Jed Grabman <7600154+jedgrabman@users.noreply.github.com> Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -26,7 +26,7 @@ extern "C" {
|
||||
#include "render_objects.h"
|
||||
#include "assets/common_data.h"
|
||||
#include "save.h"
|
||||
#include "staff_ghosts.h"
|
||||
#include "replays.h"
|
||||
#include "actors.h"
|
||||
#include "collision.h"
|
||||
#include "memory.h"
|
||||
@@ -247,10 +247,10 @@ void RoyalRaceway::WhatDoesThisDoAI(Player* player, int8_t playerId) {
|
||||
void RoyalRaceway::SetStaffGhost() {
|
||||
u32 temp_v0 = func_800B4E24(0) & 0xfffff;
|
||||
if (temp_v0 <= 16000) {
|
||||
D_80162DD6 = 0;
|
||||
bCourseGhostDisabled = 0;
|
||||
D_80162DF4 = 0;
|
||||
} else {
|
||||
D_80162DD6 = 1;
|
||||
bCourseGhostDisabled = 1;
|
||||
D_80162DF4 = 1;
|
||||
}
|
||||
D_80162DC4 = d_royal_raceway_staff_ghost;
|
||||
|
||||
Reference in New Issue
Block a user