about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2012-06-06 09:52:16 -0400
committerStarla Insigna <hatkirby@fourisland.com>2012-06-06 09:52:16 -0400
commit854fe88a958256ae40db8cdf65691c2026e4ab08 (patch)
tree355c9fedd3bb0af9134a25c11870c1ea332c92b2 /src
parent243e560a77e4ad2f18a419c0fe350d506d1a5f24 (diff)
downloadfrigidearth-854fe88a958256ae40db8cdf65691c2026e4ab08.tar.gz
frigidearth-854fe88a958256ae40db8cdf65691c2026e4ab08.tar.bz2
frigidearth-854fe88a958256ae40db8cdf65691c2026e4ab08.zip
Removed doors when picking up key
Diffstat (limited to 'src')
-rw-r--r--src/com/fourisland/frigidearth/MapViewGameState.java3
1 files changed, 3 insertions, 0 deletions
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
915 if (grid[x][y] == Tile.Window) 915 if (grid[x][y] == Tile.Window)
916 { 916 {
917 grid[x][y] = Tile.ShatteredWindow; 917 grid[x][y] = Tile.ShatteredWindow;
918 } else if ((grid[x][y] == Tile.OpenDoor) || (grid[x][y] == Tile.ClosedDoor))
919 {
920 grid[x][y] = Tile.DirtFloor;
918 } 921 }
919 } 922 }
920 } 923 }