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,7 +1814,8 @@ bool Blink::initWithDuration(float duration, int blinks)
|
||||||
|
|
||||||
void Blink::stop()
|
void Blink::stop()
|
||||||
{
|
{
|
||||||
_target->setVisible(_originalState);
|
if(NULL != _target)
|
||||||
|
_target->setVisible(_originalState);
|
||||||
ActionInterval::stop();
|
ActionInterval::stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue