mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Code style: Remove snakes from everything world apart from Map.h (#18273)
* Remove remaining snakes from world (outside of map) * Initial few desnaking of Map.h
This commit is contained in:
@@ -218,7 +218,7 @@ void CrashSplashParticle::Paint(paint_session& session, int32_t imageDirection)
|
||||
*/
|
||||
void SteamParticle::Create(const CoordsXYZ& coords)
|
||||
{
|
||||
auto surfaceElement = map_get_surface_element_at(coords);
|
||||
auto surfaceElement = MapGetSurfaceElementAt(coords);
|
||||
if (surfaceElement != nullptr && coords.z > surfaceElement->GetBaseZ())
|
||||
{
|
||||
SteamParticle* steam = CreateEntity<SteamParticle>();
|
||||
|
||||
Reference in New Issue
Block a user