mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Correct background tiles are shown ingame now
This commit is contained in:
@@ -317,7 +317,7 @@ export default class RetroArchitecture
|
||||
{
|
||||
context.drawImage(
|
||||
this.tilesetSpriteBackground.canvas,
|
||||
-(field.tile.index % 2) * this.tileWidth,
|
||||
-((field.tile.index + 2) % this.tilesBackground) * this.tileWidth,
|
||||
0,
|
||||
this.tileWidth,
|
||||
this.tileHeight,
|
||||
|
||||
Reference in New Issue
Block a user