1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

* No explosion when catapult fails to damage the wall

* Missing abilities for Azure Dragon (tons of others are still missing...)
This commit is contained in:
Michał W. Urbańczyk
2012-08-29 13:44:39 +00:00
parent 48e6c3bcf9
commit d0e2f25cfe
2 changed files with 4 additions and 1 deletions

View File

@ -850,7 +850,7 @@ bool CShootingAnimation::init()
// Add explosion anim
int xEnd = static_cast<int>(spi.x + spi.lastStep * spi.dx);
int yEnd = static_cast<int>(spi.catapultInfo->calculateY(xEnd));
owner->addNewAnim( new CSpellEffectAnimation(owner, "SGEXPL.DEF", xEnd - 126, yEnd - 105));
owner->addNewAnim( new CSpellEffectAnimation(owner, catapultDamage ? "SGEXPL.DEF" : "CSGRCK.DEF", xEnd - 126, yEnd - 105));
}
}