aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNicola Mettifogo2007-03-11 14:16:43 +0000
committerNicola Mettifogo2007-03-11 14:16:43 +0000
commit39fdacf1fd5bed4b6365196556c273e4047a103d (patch)
tree4102a3949abd0094081e4db23b81045973d81a57 /engines
parent3b5c330cef5d728b10893e40474c47142b57e83e (diff)
downloadscummvm-rg350-39fdacf1fd5bed4b6365196556c273e4047a103d.tar.gz
scummvm-rg350-39fdacf1fd5bed4b6365196556c273e4047a103d.tar.bz2
scummvm-rg350-39fdacf1fd5bed4b6365196556c273e4047a103d.zip
fixed bug: now considering Array's ability to shift values when removing elements
svn-id: r26086
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/location.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/location.cpp b/engines/parallaction/location.cpp
index 5a954a5d44..e00aec63aa 100644
--- a/engines/parallaction/location.cpp
+++ b/engines/parallaction/location.cpp
@@ -365,7 +365,7 @@ void Parallaction::changeLocation(char *location) {
if (list[1] == "slide") {
showSlide(list[0].c_str());
list.remove_at(0); // removes slide name
- list.remove_at(1); // removes 'slide'
+ list.remove_at(0); // removes 'slide'
}
// list is now only [L].{[C]} (see above comment)