other random fixes
fix evidence presenting sfx playing at literally 100x intended volume fix "def2" etc wrong evidence icon position, remove inaccurate evidence positions
This commit is contained in:
parent
e2b47afd91
commit
2c696f2cd1
@ -8,7 +8,7 @@ AOSfxPlayer::AOSfxPlayer(AOApplication *ao_app)
|
|||||||
|
|
||||||
int AOSfxPlayer::volume()
|
int AOSfxPlayer::volume()
|
||||||
{
|
{
|
||||||
return m_volume * 100;
|
return m_volume;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AOSfxPlayer::setVolume(int value)
|
void AOSfxPlayer::setVolume(int value)
|
||||||
|
@ -3435,7 +3435,7 @@ void Courtroom::display_evidence_image()
|
|||||||
QString f_image = local_evidence_list.at(f_evi_id - 1).image;
|
QString f_image = local_evidence_list.at(f_evi_id - 1).image;
|
||||||
// QString f_evi_name = local_evidence_list.at(f_evi_id - 1).name;
|
// QString f_evi_name = local_evidence_list.at(f_evi_id - 1).name;
|
||||||
// def jud and hlp should display the evidence icon on the RIGHT side
|
// def jud and hlp should display the evidence icon on the RIGHT side
|
||||||
bool is_left_side = !(side == "def" || side == "hlp" || side == "jud" || side == "jur");
|
bool is_left_side = !(side.startsWith("def") || side == "hlp");
|
||||||
ui_vp_evidence_display->show_evidence(f_evi_id, f_image, is_left_side, sfx_player->volume());
|
ui_vp_evidence_display->show_evidence(f_evi_id, f_image, is_left_side, sfx_player->volume());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user