Bug [622895] fix:

Fixed do_command(256) implementation.

svn-id: r5927
This commit is contained in:
Jamieson Christian 2002-12-13 15:16:40 +00:00
parent ddca690c28
commit caf0eccb2d

View File

@ -1519,9 +1519,10 @@ int32 IMuseInternal::do_command(int a, int b, int c, int d, int e, int f, int g,
switch (cmd) {
case 0:
if (g_scumm->_gameId == GID_SAMNMAX) {
if (d == 1)
return player->_marker;
else if (d == 2)
if (d == 1) // Measure number
// return player->_marker;
return ((player->_beat_index - 1) >> 2) + 1;
else if (d == 2) // Beat number
return player->_beat_index;
return -1;
} else {