Skip to content

Commit

Permalink
add missing break, fix name of item function
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoKle committed Sep 4, 2023
1 parent 3d86663 commit e718e1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vACDM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ void vACDM::OnGetTagItem(EuroScopePlugIn::CFlightPlan FlightPlan, EuroScopePlugI
stream << std::format("{0:%H%M}", data.ctot);
*pRGB = Color::instance().colorizeCtotandCtottimer(data);
}
break;
case itemType::EVENT_BOOKING:
if (data.hasBooking == true) {
stream << "B";
Expand Down Expand Up @@ -776,7 +777,7 @@ void vACDM::RegisterTagItemFuntions() {
RegisterTagItemFunction("ASAT now", ASAT_NOW);
RegisterTagItemFunction("ASAT now and startup state", ASAT_NOW_AND_STARTUP);
RegisterTagItemFunction("Startup Request", STARTUP_REQUEST);
RegisterTagItemFunction("Request Offblock", RESET_AORT);
RegisterTagItemFunction("Request Offblock", OFFBLOCK_REQUEST);
RegisterTagItemFunction("Set AOBT and Groundstate", AOBT_NOW_AND_STATE);
// Reset Functions
RegisterTagItemFunction("Reset TOBT", RESET_TOBT);
Expand All @@ -797,7 +798,7 @@ void vACDM::RegisterTagItemTypes() {
RegisterTagItemType("ASAT", itemType::ASAT);
RegisterTagItemType("AOBT", itemType::AOBT);
RegisterTagItemType("ATOT", itemType::ATOT);
RegisterTagItemType("ASRT", itemType::ASRT);
RegisterTagItemType("ASRT", itemType::ASRT);
RegisterTagItemType("AORT", itemType::AORT);
RegisterTagItemType("CTOT", itemType::CTOT);
RegisterTagItemType("Event Booking", itemType::EVENT_BOOKING);
Expand Down

0 comments on commit e718e1e

Please sign in to comment.