1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
This commit is contained in:
beegee1 2011-06-26 10:22:48 +00:00
parent 9ca5d9048a
commit 2efcdae80f

View File

@ -3647,7 +3647,7 @@ void CBattleInterface::projectileShowHelper(SDL_Surface * to)
{
// Parabolic shot of the trajectory, as follows: f(x) = ax^2 + bx + c
it->x += it->dx;
it->y = it->catapultInfo->calculateY(it->x);
it->y = it->catapultInfo->calculateY(it->x - this->pos.x) + this->pos.y;
}
else
{