aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-10-10 14:10:40 +0200
committerEugene Sandulenko2014-10-10 14:14:21 +0200
commit70d83d20b0771ddeb017cf6e4b1e067ef97957b2 (patch)
treeb4aec79227ae4132934b91d973ab0025faf672eb
parentdd849ac5b77a238917cf970c0b1d842be79409e3 (diff)
downloadscummvm-rg350-70d83d20b0771ddeb017cf6e4b1e067ef97957b2.tar.gz
scummvm-rg350-70d83d20b0771ddeb017cf6e4b1e067ef97957b2.tar.bz2
scummvm-rg350-70d83d20b0771ddeb017cf6e4b1e067ef97957b2.zip
PRINCE: Remove unnecessary reassignment
-rw-r--r--engines/prince/script.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp
index b778bd3288..d03b9b5e48 100644
--- a/engines/prince/script.cpp
+++ b/engines/prince/script.cpp
@@ -1614,7 +1614,6 @@ void Interpreter::O_BACKANIMRANGE() {
int currAnim = _vm->_backAnimList[slotId]._seq._currRelative;
if (_vm->_backAnimList[slotId].backAnims[currAnim]._animData != nullptr) {
if (animId == 0xFFFF || _vm->_backAnimList[slotId]._seq._current == animId) {
- int currAnim = _vm->_backAnimList[slotId]._seq._currRelative;
Anim &backAnim = _vm->_backAnimList[slotId].backAnims[currAnim];
if (!backAnim._state) {
if (backAnim._frame >= low) {