mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-27 00:41:08 +02:00
Restores attacking and shooting sounds.
This commit is contained in:
@ -153,6 +153,11 @@ int CCreatureAnimation::getFrame() const
|
||||
return curFrame;
|
||||
}
|
||||
|
||||
bool CCreatureAnimation::onFirstFrameInGroup()
|
||||
{
|
||||
return internalFrame == 0;
|
||||
}
|
||||
|
||||
bool CCreatureAnimation::onLastFrameInGroup()
|
||||
{
|
||||
if(internalFrame == frameGroups[type].size() - 1)
|
||||
|
Reference in New Issue
Block a user