Add shareware support and spawn correctly for difficulty levels
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -25,7 +25,7 @@ class PushwallManager {
|
||||
|
||||
for (int y = 0; y < objectGrid.length; y++) {
|
||||
for (int x = 0; x < objectGrid[y].length; x++) {
|
||||
if (objectGrid[y][x] == MapObjectId.secretDoor) {
|
||||
if (objectGrid[y][x] == MapObject.pushwallTrigger) {
|
||||
pushwalls['$x,$y'] = Pushwall(x, y, wallGrid[y][x]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user