Replace NULL with nullptr
This commit is contained in:
parent
5f11e15571
commit
95a1400a2a
755 changed files with 5742 additions and 5742 deletions
|
|
@ -652,7 +652,7 @@ void AnimatedSprite2D::_reset_timeout() {
|
|||
|
||||
void AnimatedSprite2D::set_animation(const StringName &p_animation) {
|
||||
|
||||
ERR_FAIL_COND_MSG(frames == NULL, vformat("There is no animation with name '%s'.", p_animation));
|
||||
ERR_FAIL_COND_MSG(frames == nullptr, vformat("There is no animation with name '%s'.", p_animation));
|
||||
ERR_FAIL_COND_MSG(frames->get_animation_names().find(p_animation) == -1, vformat("There is no animation with name '%s'.", p_animation));
|
||||
|
||||
if (animation == p_animation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue