mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
SAGA2: Use correct arguments for implementAction
This commit is contained in:
parent
50ba1c613d
commit
722d6e960f
@ -3541,7 +3541,7 @@ void MotionTask::castSpellAction(void) {
|
||||
if (spellObj) {
|
||||
if (flags & TAGTarg) {
|
||||
assert(targetTAG->_data.itemType == activeTypeInstance);
|
||||
spellObj->implementAction(spellObj->getSpellID(), a->thisID(), targetTAG->thisID());
|
||||
spellObj->implementAction(spellObj->getSpellID(), a->thisID(), targetTAG);
|
||||
} else if (flags & LocTarg) {
|
||||
spellObj->implementAction(spellObj->getSpellID(), a->thisID(), targetLoc);
|
||||
} else if (targetObj) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user