mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Fix regression with tile 10 not having nothing behind it
This broke when I was refactoring things earlier, because we no longer have a direct reference to the contents array, instead using a copied int. But we have a settile() function anyway, so why not use it?
This commit is contained in:
parent
038f15f4a6
commit
2f25ab77b1
1 changed files with 1 additions and 1 deletions
|
@ -2057,7 +2057,7 @@ void mapclass::loadlevel(int rx, int ry)
|
|||
//Breakable blocks
|
||||
if (tile == 10)
|
||||
{
|
||||
tile = 0;
|
||||
settile(i, j, 0);
|
||||
obj.createentity(i * 8, j * 8, 4);
|
||||
}
|
||||
//Directional blocks
|
||||
|
|
Loading…
Reference in a new issue