From: <ave...@us...> - 2009-06-12 20:24:20
|
Revision: 6411 http://gemrb.svn.sourceforge.net/gemrb/?rev=6411&view=rev Author: avenger_teambg Date: 2009-06-12 20:24:16 +0000 (Fri, 12 Jun 2009) Log Message: ----------- some effects try to make fx_current_hp_modifier permanent (it never lingers around) Modified Paths: -------------- gemrb/trunk/gemrb/plugins/FXOpcodes/FXOpc.cpp Modified: gemrb/trunk/gemrb/plugins/FXOpcodes/FXOpc.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/FXOpcodes/FXOpc.cpp 2009-06-12 20:18:54 UTC (rev 6410) +++ gemrb/trunk/gemrb/plugins/FXOpcodes/FXOpc.cpp 2009-06-12 20:24:16 UTC (rev 6411) @@ -1328,7 +1328,8 @@ if (fx->Parameter2&0x20000) { target->fxqueue.RemoveAllNonPermanentEffects(); } - return FX_PERMANENT; + //never stay permanent + return FX_NOT_APPLIED; } // 0x12 MaximumHPModifier This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |