mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Move painting for SteamParticle entity
This commit is contained in:
@@ -257,8 +257,11 @@ void SteamParticle::Serialise(DataSerialiser& stream)
|
||||
stream << time_to_move;
|
||||
}
|
||||
|
||||
void SteamParticle::Paint() const
|
||||
void SteamParticle::Paint(paint_session* session, int32_t imageDirection) const
|
||||
{
|
||||
// TODO: Create constant in sprites.h
|
||||
uint32_t imageId = 22637 + (frame / 256);
|
||||
PaintAddImageAsParent(session, imageId, { 0, 0, z }, { 1, 1, 0 });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user