changeset 10:dac3a35aeff6

Plays more Sound Effects
author thib
date Wed, 06 Aug 2008 09:13:54 +0000
parents b6d6c0ffb423
children 28a4f6bde8c8
files scn2k/scn2k_grp.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scn2k/scn2k_grp.cc
+++ b/scn2k/scn2k_grp.cc
@@ -2168,8 +2168,8 @@ 487 / 8047 : unsupported command; 0x23 -
 		}
 	}
 	if (cmd.cmd1 == 1 && cmd.cmd2 == 0x15) {
-		if ((cmd.cmd3 == 2) || (cmd.cmd3 == 0 && cmd.cmd4 == 1) || (cmd.cmd3 == 0 && cmd.cmd4 == 0)) {
-			eprintf("play SE %s\n",cmd.Str(cmd.args[0]));
+		if ((cmd.cmd3 == 2) || (cmd.cmd3 == 0 && (cmd.cmd4 == 1 || cmd.cmd4 == 2)) || (cmd.cmd3 == 0 && cmd.cmd4 == 0)) {
+			printf("play SE %s\n",cmd.Str(cmd.args[0]));
 			if (cmd.cmd3 == 2) {
 				music.PlaySE(cmd.Str(cmd.args[0]),1);
 				cmd.cmd_type = CMD_SAVECMD_ONCE;