mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Remove ;
This commit is contained in:
parent
bd6d2ecb5f
commit
0aa154a656
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ void AnimationInfo::updateTexture(video::SMaterial &material, float animation_ti
|
|||
assert(m_frame < m_frames->size());
|
||||
material.setTexture(0, (*m_frames)[m_frame].texture);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
bool AnimationInfo::needUpdate(float animation_time)
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ bool AnimationInfo::needUpdate(float animation_time)
|
|||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
void TileLayer::applyMaterialOptions(video::SMaterial &material, int layer) const
|
||||
{
|
||||
|
|
|
@ -169,7 +169,7 @@ struct AnimationInfo {
|
|||
bool needUpdate(float animation_time);
|
||||
|
||||
// Returns last used frame
|
||||
u16 getCurrentFrame() const { return m_frame; };
|
||||
u16 getCurrentFrame() const { return m_frame; }
|
||||
|
||||
private:
|
||||
u16 m_frame = 0; // last animation frame
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue