File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 99std::array<std::vector<uint16_t >, 256 > ObjectNodes;
1010std::array<std::array<std::bitset<16384 >, 256 >, 128 > ObjectExclusionsPerStage;
1111int NumObjects = 0 ;
12+ int CsLengthNum = 0 ;
1213
1314bool DrawDistanceIncreaseEnabled = false ;
1415bool EnablePauseMenu = true ;
@@ -80,10 +81,10 @@ void Overlay_DrawDistOverlay()
8081 if (ImGui::Button (" >>>" ))
8182 Settings::DrawDistanceIncrease += 10 ;
8283
84+ ImGui::Text (" Nodes at distance +%d (track section #%d):" , Settings::DrawDistanceIncrease, (CsLengthNum + Settings::DrawDistanceIncrease));
85+
8386 if (num_columns > 0 )
8487 {
85- ImGui::Text (" Nodes at DrawDistance %d:" , Settings::DrawDistanceIncrease);
86-
8788 num_columns += 1 ;
8889 if (ImGui::BeginTable (" NodeTable" , num_columns, table_flags))
8990 {
@@ -381,7 +382,7 @@ class DrawDistanceIncrease : public Hook
381382 int a5 = ctx.edx ;
382383
383384 int CsMaxLength = Game::GetMaxCsLen (0 );
384- int CsLengthNum = ctx.ebp ;
385+ CsLengthNum = ctx.ebp ;
385386
386387 int v6 = ctx.ebx ;
387388 uint32_t * v11 = (uint32_t *)(v6 + 8 );
You can’t perform that action at this time.
0 commit comments