1 Sep 2008 14:44
SF.net SVN: cel:[3668] cel/trunk/plugins/tools/quests
Revision: 3668
http://cel.svn.sourceforge.net/cel/?rev=3668&view=rev
Author: jorrit
Date: 2008-09-01 12:44:31 +0000 (Mon, 01 Sep 2008)
Log Message:
-----------
Fixed a serious bug in the property change trigger that was introduced
when operations were added. The problem was that 'value_par' was converted
to csString but that is not good in this case since value_par is also
compared with NULL to check if the parameter is given or not.
Modified Paths:
--------------
cel/trunk/plugins/tools/quests/trig_propertychange.cpp
cel/trunk/plugins/tools/quests/trig_propertychange.h
Modified: cel/trunk/plugins/tools/quests/trig_propertychange.cpp
===================================================================
--- cel/trunk/plugins/tools/quests/trig_propertychange.cpp 2008-08-28 15:14:46 UTC (rev 3667)
+++ cel/trunk/plugins/tools/quests/trig_propertychange.cpp 2008-09-01 12:44:31 UTC (rev 3668)
<at> <at> -63,10 +63,12 <at> <at>
celPropertyChangeTriggerType* type) : scfImplementationType (this)
{
celPropertyChangeTriggerFactory::type = type;
+ value_par = 0;
}
celPropertyChangeTriggerFactory::~celPropertyChangeTriggerFactory ()
{
(Continue reading)
RSS Feed