mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
Rename snake_case Class names (Remaining Bits) (#19237)
* Rename snake_case Class names * Clang format * Fix build issues
This commit is contained in:
@@ -138,7 +138,7 @@ GameActions::Result TrackRemoveAction::Query() const
|
||||
}
|
||||
const auto& ted = GetTrackElementDescriptor(trackType);
|
||||
auto sequenceIndex = tileElement->AsTrack()->GetSequenceIndex();
|
||||
const rct_preview_track* trackBlock = ted.GetBlockForSequence(sequenceIndex);
|
||||
const PreviewTrack* trackBlock = ted.GetBlockForSequence(sequenceIndex);
|
||||
if (trackBlock == nullptr)
|
||||
{
|
||||
LOG_WARNING("Track block %d not found for track type %d.", sequenceIndex, trackType);
|
||||
@@ -327,7 +327,7 @@ GameActions::Result TrackRemoveAction::Execute() const
|
||||
}
|
||||
const auto& ted = GetTrackElementDescriptor(trackType);
|
||||
auto sequenceIndex = tileElement->AsTrack()->GetSequenceIndex();
|
||||
const rct_preview_track* trackBlock = ted.GetBlockForSequence(sequenceIndex);
|
||||
const PreviewTrack* trackBlock = ted.GetBlockForSequence(sequenceIndex);
|
||||
if (trackBlock == nullptr)
|
||||
{
|
||||
LOG_WARNING("Track block %d not found for track type %d.", sequenceIndex, trackType);
|
||||
|
||||
Reference in New Issue
Block a user