Skip to content

Commit

Permalink
fix mph gui crash
Browse files Browse the repository at this point in the history
  • Loading branch information
cryham committed Sep 15, 2015
1 parent f6d27ad commit 85f5611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/ogre/Gui_Events.cpp
Expand Up @@ -219,8 +219,8 @@ void CGui::comboRewind(CMB)
pSet->gui.rewind_type = val;
}

void CGui::radKmh(WP wp){ Radio2(bRkmh, bRmph, true); pSet->show_mph = false; hud->Size(); app->scn->pace->UpdTxt(); }
void CGui::radMph(WP wp){ Radio2(bRkmh, bRmph, false); pSet->show_mph = true; hud->Size(); app->scn->pace->UpdTxt(); }
void CGui::radKmh(WP wp){ Radio2(bRkmh, bRmph, true); pSet->show_mph = false; hud->Size(); if (app->scn->pace) app->scn->pace->UpdTxt(); }
void CGui::radMph(WP wp){ Radio2(bRkmh, bRmph, false); pSet->show_mph = true; hud->Size(); if (app->scn->pace) app->scn->pace->UpdTxt(); }

void CGui::setSimMode(std::string mode)
{
Expand Down

0 comments on commit 85f5611

Please sign in to comment.