Skip to content

Commit

Permalink
fix players change crash
Browse files Browse the repository at this point in the history
  • Loading branch information
cryham committed Nov 12, 2023
1 parent 1784e3e commit f8a16a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/Roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ Git [repo](https://github.com/stuntrally/stuntrally3) and [tracks](https://githu
_tools_: fix scale ter h, copy horizon, which ter, road

- **HUD**
`fix` players change crash, splitscreen gauges
fix splitscreen gauges etc
_Minimap_ circle, terrain add, fix pos tris
HudRend map issues-

- Game, meh fix
water vis dist?
Expand Down
5 changes: 3 additions & 2 deletions src/game/Gui_Util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ void CGui::btnNewGame(WP wp)
app->mWndTabsGame->getIndexSelected() < TAB_Champs || app->mClient)
BackFromChs(); /// champ, back to single race

bool force = false;
/*bool force = false;
if (wp)
{ string s = wp->getName();
s = s.substr(s.length()-1,1);
bool force = s=="3" || s=="4";
}
}*/
bool force = 1;
app->NewGame(force); app->isFocGui = false; // off gui
app->mWndOpts->setVisible(app->isFocGui);
app->mWndRpl->setVisible(false); app->mWndRplTxt->setVisible(false);//
Expand Down
1 change: 1 addition & 0 deletions src/road/PaceNotes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ void PaceNotes::UpdVis(Vector3 carPos, bool hide)
{
const Real dd = pSet->pace_dist, dd2 = dd*dd;
int i,s;
if (!cam) return;

#ifndef SR_EDITOR
// game ----
Expand Down

0 comments on commit f8a16a0

Please sign in to comment.