mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2023-12-30 21:52:56 +00:00
parent
862fe13dcd
commit
dc00dbde0d
@ -3775,9 +3775,9 @@ void control::SelectMissionController(int code, TPinballComponent* caller)
|
|||||||
if (light_on(&control_lite319_tag))
|
if (light_on(&control_lite319_tag))
|
||||||
control_lite319_tag.Component->Message(20, 0.0);
|
control_lite319_tag.Component->Message(20, 0.0);
|
||||||
control_lite198_tag.Component->MessageField = control_lite56_tag.Component->MessageField;
|
control_lite198_tag.Component->MessageField = control_lite56_tag.Component->MessageField;
|
||||||
|
auto scoreId = control_lite56_tag.Component->MessageField - 2;
|
||||||
MissionControl(66, nullptr);
|
MissionControl(66, nullptr);
|
||||||
int addedScore = SpecialAddScore(
|
int addedScore = SpecialAddScore(mission_select_scores[scoreId]);
|
||||||
mission_select_scores[control_lite56_tag.Component->MessageField - 2]);
|
|
||||||
snprintf(Buffer, sizeof Buffer, pinball::get_rc_string(77, 0), addedScore);
|
snprintf(Buffer, sizeof Buffer, pinball::get_rc_string(77, 0), addedScore);
|
||||||
control_mission_text_box_tag.Component->Display(Buffer, 4.0);
|
control_mission_text_box_tag.Component->Display(Buffer, 4.0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user