Permalink
Browse files

iwd: fx_control use the correct saving throw

vs spells maps to nothing in iwd2 and this is an iwd2 effect
  • Loading branch information...
1 parent c0c01f3 commit 33d886fe6861578c7380a2aada951960f4fab00a @lynxlynxlynx lynxlynxlynx committed Dec 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/plugins/IWDOpcodes/IWDOpcodes.cpp
@@ -2667,7 +2667,7 @@ int fx_control (Scriptable* Owner, Actor* target, Effect* fx)
if (fx->Parameter3 && fx->Parameter4<game->GameTime) {
fx->Parameter3 = 0;
- if (target->GetSavingThrow(IE_SAVEVSSPELL,0) ) return FX_NOT_APPLIED;
+ if (target->GetSavingThrow(IE_SAVEWILL, 0)) return FX_NOT_APPLIED;
}
if(0) print("fx_control(%2d)", fx->Opcode);
bool enemyally = true;

0 comments on commit 33d886f

Please sign in to comment.