comparison scn2k/scn2k_grp.cc @ 11:28a4f6bde8c8

Oops...
author thib
date Wed, 06 Aug 2008 09:15:04 +0000
parents dac3a35aeff6
children 8da1d92ac8f8
comparison
equal deleted inserted replaced
10:dac3a35aeff6 11:28a4f6bde8c8
2167 cmd.cmd_type = CMD_SAVECMD_ONCE; 2167 cmd.cmd_type = CMD_SAVECMD_ONCE;
2168 } 2168 }
2169 } 2169 }
2170 if (cmd.cmd1 == 1 && cmd.cmd2 == 0x15) { 2170 if (cmd.cmd1 == 1 && cmd.cmd2 == 0x15) {
2171 if ((cmd.cmd3 == 2) || (cmd.cmd3 == 0 && (cmd.cmd4 == 1 || cmd.cmd4 == 2)) || (cmd.cmd3 == 0 && cmd.cmd4 == 0)) { 2171 if ((cmd.cmd3 == 2) || (cmd.cmd3 == 0 && (cmd.cmd4 == 1 || cmd.cmd4 == 2)) || (cmd.cmd3 == 0 && cmd.cmd4 == 0)) {
2172 printf("play SE %s\n",cmd.Str(cmd.args[0])); 2172 eprintf("play SE %s\n",cmd.Str(cmd.args[0]));
2173 if (cmd.cmd3 == 2) { 2173 if (cmd.cmd3 == 2) {
2174 music.PlaySE(cmd.Str(cmd.args[0]),1); 2174 music.PlaySE(cmd.Str(cmd.args[0]),1);
2175 cmd.cmd_type = CMD_SAVECMD_ONCE; 2175 cmd.cmd_type = CMD_SAVECMD_ONCE;
2176 } else { 2176 } else {
2177 music.PlaySE(cmd.Str(cmd.args[0])); 2177 music.PlaySE(cmd.Str(cmd.args[0]));