From 1a7baf7a0ed6a9eaa4549cc2ec313dcef0311c0b Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 7 Aug 2017 17:16:14 -0400 Subject: minesweeper graphics part 2 --- TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs') 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; + } } } -- cgit v1.2.3