You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
Merge pull request #2074 from duncanspumpkin/fix_2049
Possible fix to #2049.
This commit is contained in:
@@ -538,8 +538,8 @@ void litter_create(int x, int y, int z, int direction, int type)
|
||||
uint16 spriteIndex, nextSpriteIndex;
|
||||
uint32 newestLitterCreationTick;
|
||||
|
||||
x += TileDirectionDelta[direction].x / 8;
|
||||
y += TileDirectionDelta[direction].y / 8;
|
||||
x += TileDirectionDelta[direction >> 3].x / 8;
|
||||
y += TileDirectionDelta[direction >> 3].y / 8;
|
||||
|
||||
if (!litter_can_be_at(x, y, z))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user