aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine/Template
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-09-18 16:49:14 -0500
committerGitHub <[email protected]>2017-09-18 16:49:14 -0500
commit2d83155d9833a7ea1396ee62265f900be258a5eb (patch)
tree28c7cfc42927d9c340a5f17048a024227358fc5f /Histacom2.Engine/Template
parent92495924b688faf93d37929a8dab27554ac78e4f (diff)
parent3188a4eac09bbcfb1dffaa2e001f1f76137ed1ac (diff)
downloadhistacom2-2d83155d9833a7ea1396ee62265f900be258a5eb.tar.gz
histacom2-2d83155d9833a7ea1396ee62265f900be258a5eb.tar.bz2
histacom2-2d83155d9833a7ea1396ee62265f900be258a5eb.zip
Merge pull request #161 from IBMPCDOS5/master
Added Error Blaster 95, see Description for details
Diffstat (limited to 'Histacom2.Engine/Template')
-rw-r--r--Histacom2.Engine/Template/Infobox95.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Histacom2.Engine/Template/Infobox95.cs b/Histacom2.Engine/Template/Infobox95.cs
index 9214461..6408177 100644
--- a/Histacom2.Engine/Template/Infobox95.cs
+++ b/Histacom2.Engine/Template/Infobox95.cs
@@ -22,21 +22,26 @@ namespace Histacom2.Engine.Template
pictureBox1.Image = Properties.Resources.Win95Info;
SoundPlayer spa = new SoundPlayer(SaveSystem.currentTheme.asteriskSound);
spa.Play();
+ spa.Stream.Position = 0;
+
break;
case InfoboxType.Question:
pictureBox1.Image = Properties.Resources.Win95Question;
SoundPlayer spq = new SoundPlayer(SaveSystem.currentTheme.questionSound);
spq.Play();
+ spq.Stream.Position = 0;
break;
case InfoboxType.Warning:
pictureBox1.Image = Properties.Resources.Win95Warning;
SoundPlayer spw = new SoundPlayer(SaveSystem.currentTheme.exclamationSound);
spw.Play();
+ spw.Stream.Position = 0;
break;
case InfoboxType.Error:
pictureBox1.Image = Properties.Resources.Win95Error;
SoundPlayer spe = new SoundPlayer(SaveSystem.currentTheme.critStopSound);
spe.Play();
+ spe.Stream.Position = 0;
break;
}