From 854fe88a958256ae40db8cdf65691c2026e4ab08 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 6 Jun 2012 09:52:16 -0400 Subject: Removed doors when picking up key --- src/com/fourisland/frigidearth/MapViewGameState.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/fourisland/frigidearth/MapViewGameState.java b/src/com/fourisland/frigidearth/MapViewGameState.java index 367e340..9358f5f 100644 --- a/src/com/fourisland/frigidearth/MapViewGameState.java +++ b/src/com/fourisland/frigidearth/MapViewGameState.java @@ -915,6 +915,9 @@ public class MapViewGameState implements GameState if (grid[x][y] == Tile.Window) { grid[x][y] = Tile.ShatteredWindow; + } else if ((grid[x][y] == Tile.OpenDoor) || (grid[x][y] == Tile.ClosedDoor)) + { + grid[x][y] = Tile.DirtFloor; } } } -- cgit 1.4.1