Permalink
Browse files

fx_monster_summoning: fixed our extension being ignored

coverity 4433
  • Loading branch information...
1 parent 3a0c76f commit 9926608fe5a88702ed0d3a055c810d47ae20dc4b @lynxlynxlynx lynxlynxlynx committed Apr 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/plugins/FXOpcodes/FXOpcodes.cpp
@@ -3724,7 +3724,7 @@ int fx_monster_summoning (Scriptable* Owner, Actor* target, Effect* fx)
} else {
strnuprcpy(table, monster_summoning_2da[fx->Parameter2], 8);
}
- core->GetResRefFrom2DA(monster_summoning_2da[fx->Parameter2], monster, hit, areahit);
+ core->GetResRefFrom2DA(table, monster, hit, areahit);
if (!hit[0]) {
strnuprcpy(hit, fx->Resource2, 8);

0 comments on commit 9926608

Please sign in to comment.