diff options
| author | lempamo <[email protected]> | 2017-08-07 17:16:14 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-08-07 17:16:14 -0400 |
| commit | 1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b (patch) | |
| tree | e2c8427b9cc1618007597d02b41879bebd1852a0 /TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs | |
| parent | e838d66d36751fdbf5c2f7fadab8fee42729b6ac (diff) | |
| download | histacom2-1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b.tar.gz histacom2-1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b.tar.bz2 histacom2-1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b.zip | |
minesweeper graphics part 2
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs index b01596c..be3f1c8 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs @@ -67,10 +67,14 @@ namespace TimeHACK.OS.Win95.Win95Apps.MineSweeper foreach (Square s in _squares) { s.RemoveEvents(); - if (s.Minded && !s.Exploded) + if (s.Minded && !s.Exploded && !s.Dismantled) { s.Button.BackgroundImage = Properties.Resources.minesweepSquareMine; } + if (s.Dismantled && !s.Minded) + { + s.Button.BackgroundImage = Properties.Resources.minesweepSquareWrong; + } } } |
