Permalink
Browse files

fx_cast_spell_on_condition: fixed potential uninited var use

coverity 61064 from ff05915
  • Loading branch information...
lynxlynxlynx committed Aug 8, 2013
1 parent 1877eb5 commit 69738d9025258644b09c04c0d4f07f401caf8fbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/plugins/FXOpcodes/FXOpcodes.cpp
@@ -5850,7 +5850,7 @@ int fx_cast_spell_on_condition (Scriptable* Owner, Actor* target, Effect* fx)
return FX_APPLIED;
}
- bool condition;
+ bool condition = false;
bool per_round = true; // 4xxx trigger?
const TriggerEntry *entry = NULL;
ieDword timeOfDay;

0 comments on commit 69738d9

Please sign in to comment.