Label RCP resets

This commit is contained in:
Fazana committed 2021-09-16 23:14:53 +01:00
1 parent 655975d6e8
commit 26005df9d7
5 files changed
+10 -7

No files matched your search

-2
View File
@@ -905,8 +905,6 @@ static BhvCommandProc BehaviorCmdTable[] = {
// Execute the behavior script of the current object, process the object flags, and other miscellaneous code for updating objects.
void cur_obj_update(void) {
UNUSED u32 unused;
u32 objFlags = gCurrentObject->oFlags;
f32 distanceFromMario;
BhvCommandProc bhvCmdProc;
+1 -1
View File
@@ -963,7 +963,7 @@ struct LevelCommand *level_script_execute(struct LevelCommand *cmd) {
}
profiler_log_thread5_time(LEVEL_SCRIPT_EXECUTE);
init_rcp(1);
init_rcp(CLEAR_ZBUFFER);
render_game();
end_master_display_list();
alloc_display_list(0);