1
0
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:
ζeh Matt
2021-11-27 15:43:39 +02:00
parent effddb4a1f
commit 686e15fd1a
3 changed files with 5 additions and 8 deletions

View File

@@ -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 });
}
/**