1
0
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:
Frank Zago
2009-10-13 02:01:29 +00:00
parent c2cb7be227
commit 17a795015a
4 changed files with 10 additions and 31 deletions

View File

@ -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)