mirror of https://github.com/OpenRCT2/OpenRCT2.git
Clang format
This commit is contained in:
parent
92f3e2de8b
commit
f39905bd2e
|
@ -3854,8 +3854,7 @@ void ride_construction_tooldown_construct(int32_t screenX, int32_t screenY)
|
|||
else
|
||||
{
|
||||
window_close_by_class(WC_ERROR);
|
||||
audio_play_sound_at_location(
|
||||
SoundId::PlaceItem, _currentTrackBegin);
|
||||
audio_play_sound_at_location(SoundId::PlaceItem, _currentTrackBegin);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1951,8 +1951,7 @@ static void window_top_toolbar_scenery_tool_down(int16_t x, int16_t y, rct_windo
|
|||
bannerPlaceAction.SetCallback([=](const GameAction* ga, const GameActionResult* result) {
|
||||
if (result->Error == GA_ERROR::OK)
|
||||
{
|
||||
audio_play_sound_at_location(
|
||||
SoundId::PlaceItem, result->Position);
|
||||
audio_play_sound_at_location(SoundId::PlaceItem, result->Position);
|
||||
context_open_detail_window(WD_BANNER, bannerIndex);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -71,7 +71,8 @@ static void paint_session_add_ps_to_quadrant(paint_session* session, paint_struc
|
|||
* Extracted from 0x0098196c, 0x0098197c, 0x0098198c, 0x0098199c
|
||||
*/
|
||||
static paint_struct* sub_9819_c(
|
||||
paint_session* session, uint32_t image_id, const CoordsXYZ& offset, LocationXYZ16 boundBoxSize, LocationXYZ16 boundBoxOffset)
|
||||
paint_session* session, uint32_t image_id, const CoordsXYZ& offset, LocationXYZ16 boundBoxSize,
|
||||
LocationXYZ16 boundBoxOffset)
|
||||
{
|
||||
if (session->NextFreePaintStruct >= session->EndOfPaintStructArray)
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in New Issue