aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2007-05-19 20:49:36 +0000
committerNicola Mettifogo2007-05-19 20:49:36 +0000
commit6e76e46e0ee46b8d7817bcc39b7217a4f36f565d (patch)
treeab6769e7d64243d82cdcb49f3ce84ac7fb1f53e6 /engines/parallaction
parentc750bea0ddcd0f5b7e3fed28d0a80cca6f326532 (diff)
downloadscummvm-rg350-6e76e46e0ee46b8d7817bcc39b7217a4f36f565d.tar.gz
scummvm-rg350-6e76e46e0ee46b8d7817bcc39b7217a4f36f565d.tar.bz2
scummvm-rg350-6e76e46e0ee46b8d7817bcc39b7217a4f36f565d.zip
Fixed regression: wrong job ordering caused a bunch of graphic glitches.
svn-id: r26878
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/parallaction.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index 6095e43c40..4e45bc4f90 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -778,7 +778,6 @@ void Parallaction::changeCharacter(const char *name) {
(higher priorities values comes first in the list)
*/
int compareJobPriority(const JobPointer &j1, const JobPointer &j2) {
- if (j1->_tag == j2->_tag) return 0;
return (j1->_tag >= j2->_tag ? -1 : 1);
}