Skip to content

Commit a756161

Browse files
committed
xrRender/ParticleGroup.h: isPlaying() is now bool const instead of BOOL
1 parent 5ba9a32 commit a756161

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Layers/xrRender/ParticleGroup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,10 @@ void CParticleGroup::SItem::Stop(BOOL def_stop)
300300
_children_free.clear();
301301
}
302302
}
303-
BOOL CParticleGroup::SItem::IsPlaying()
303+
bool CParticleGroup::SItem::IsPlaying() const
304304
{
305305
CParticleEffect* E = static_cast<CParticleEffect*>(_effect);
306-
return E ? E->IsPlaying() : FALSE;
306+
return E ? E->IsPlaying() : false;
307307
}
308308

309309
void CParticleGroup::SItem::UpdateParent(const Fmatrix& m, const Fvector& velocity, BOOL bXFORM)

src/Layers/xrRender/ParticleGroup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class ECORE_API CParticleGroup : public dxParticleCustom
109109
void OnFrame(u32 u_dt, const CPGDef::SEffect& def, Fbox& box, bool& bPlaying);
110110

111111
u32 ParticlesCount();
112-
BOOL IsPlaying();
112+
bool IsPlaying() const;
113113
void Play();
114114
void Stop(BOOL def_stop);
115115
};

0 commit comments

Comments
 (0)