RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.319
diff -u -d -r1.319 actor.cpp
|
|
|
924 | 924 | if (diff > 0) |
925 | 925 | return +1; |
926 | 926 | |
927 | | // FIXME: This hack works around bug #775097. It's probably wrong, though :-/ |
928 | | // Would be interesting if somebody could check the disassembly (see also the |
929 | | // comment on the above mentioned tracker item). |
930 | | if (g_scumm->_gameId == GID_TENTACLE) { |
931 | | diff = actor1->forceClip - actor2->forceClip; |
932 | | if (diff < 0) |
933 | | return -1; |
934 | | if (diff > 0) |
935 | | return +1; |
| 927 | // FIXME: This hack works around bugs #775097 and #1093867. |
| 928 | if (g_scumm->_gameId == GID_TENTACLE || g_scumm->_gameId == GID_FT) { |
| 929 | return actor2->number - actor1->number; |
936 | 930 | } |
937 | 931 | |
938 | 932 | // The qsort() function is not guaranteed to be stable (i.e. it may |