Skip to content

Commit

Permalink
Updated scenario_test_pvs
Browse files Browse the repository at this point in the history
  • Loading branch information
twist84 committed Dec 25, 2024
1 parent 6c75c60 commit e840ff0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions game/source/scenario/scenario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,13 +632,13 @@ void __cdecl scenario_tags_teardown()
INVOKE(0x004EB880, scenario_tags_teardown);
}

bool __cdecl scenario_test_pvs(s_cluster_reference a1, s_cluster_reference a2)
bool __cdecl scenario_test_pvs(s_cluster_reference cluster_reference0, s_cluster_reference cluster_reference1)
{
return INVOKE(0x004EB910, scenario_test_pvs, a1, a2);
return INVOKE(0x004EB910, scenario_test_pvs, cluster_reference0, cluster_reference1);

//s_scenario_pvs_row pvs_row{};
//scenario_zone_set_pvs_get_row(global_scenario_index_get(), &pvs_row, scenario_zone_set_index_get(), a1, false);
//return scenario_zone_set_pvs_row_test(global_scenario_index_get(), &pvs_row, a2);
//scenario_zone_set_pvs_get_row(global_scenario_index_get(), &pvs_row, scenario_zone_set_index_get(), cluster_reference0, false);
//return scenario_zone_set_pvs_row_test(global_scenario_index_get(), &pvs_row, cluster_reference1);
}

void __cdecl scenario_unload()
Expand Down
2 changes: 1 addition & 1 deletion game/source/scenario/scenario.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ extern bool __cdecl scenario_switch_zone_set(long zone_set_index);
extern bool __cdecl scenario_switch_zone_set_internal(long new_zone_set_index, bool unload_old_bsps);
extern bool __cdecl scenario_tags_match(long campaign_id, long map_id, char const* scenario_path);
extern void __cdecl scenario_tags_teardown();
extern bool __cdecl scenario_test_pvs(s_cluster_reference a1, s_cluster_reference a2);
extern bool __cdecl scenario_test_pvs(s_cluster_reference cluster_reference0, s_cluster_reference cluster_reference1);
extern void __cdecl scenario_unload();
extern long __cdecl scenario_zone_set_index_get();
extern long __cdecl scenario_zone_set_index_get_if_fully_activated();
Expand Down

0 comments on commit e840ff0

Please sign in to comment.