Cambiados los accesos a vector de .at a []
This commit is contained in:
@@ -849,8 +849,8 @@ void Balloon::updateBounce()
|
||||
{
|
||||
if (bouncing.enabled)
|
||||
{
|
||||
bouncing.zoomW = bouncing.w.at(bouncing.counter / bouncing.speed);
|
||||
bouncing.zoomH = bouncing.h.at(bouncing.counter / bouncing.speed);
|
||||
bouncing.zoomW = bouncing.w[bouncing.counter / bouncing.speed];
|
||||
bouncing.zoomH = bouncing.h[bouncing.counter / bouncing.speed];
|
||||
sprite->setZoomW(bouncing.zoomW);
|
||||
sprite->setZoomH(bouncing.zoomH);
|
||||
bouncing.despX = (sprite->getSpriteClip().w - (sprite->getSpriteClip().w * bouncing.zoomW));
|
||||
|
||||
Reference in New Issue
Block a user