mirror of https://github.com/axmolengine/axmol.git
Blink::stop() access violation
Blink::stop() is calles twice when inside a Repeat action. This results in an access violation
This commit is contained in:
parent
883f250f6a
commit
89915a084c
|
@ -1814,6 +1814,7 @@ bool Blink::initWithDuration(float duration, int blinks)
|
||||||
|
|
||||||
void Blink::stop()
|
void Blink::stop()
|
||||||
{
|
{
|
||||||
|
if(NULL != _target)
|
||||||
_target->setVisible(_originalState);
|
_target->setVisible(_originalState);
|
||||||
ActionInterval::stop();
|
ActionInterval::stop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue