Skip to content

Commit

Permalink
xrRender/ParticleGroup.h: isPlaying() is now bool const instead of BOOL
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Aug 10, 2017
1 parent 5ba9a32 commit a756161
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Layers/xrRender/ParticleGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ void CParticleGroup::SItem::Stop(BOOL def_stop)
_children_free.clear();
}
}
BOOL CParticleGroup::SItem::IsPlaying()
bool CParticleGroup::SItem::IsPlaying() const
{
CParticleEffect* E = static_cast<CParticleEffect*>(_effect);
return E ? E->IsPlaying() : FALSE;
return E ? E->IsPlaying() : false;
}

void CParticleGroup::SItem::UpdateParent(const Fmatrix& m, const Fvector& velocity, BOOL bXFORM)
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/ParticleGroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class ECORE_API CParticleGroup : public dxParticleCustom
void OnFrame(u32 u_dt, const CPGDef::SEffect& def, Fbox& box, bool& bPlaying);

u32 ParticlesCount();
BOOL IsPlaying();
bool IsPlaying() const;
void Play();
void Stop(BOOL def_stop);
};
Expand Down

0 comments on commit a756161

Please sign in to comment.