diff --git a/Crawler/Meteor.cpp b/Crawler/Meteor.cpp index 86cc2546..b7155251 100644 --- a/Crawler/Meteor.cpp +++ b/Crawler/Meteor.cpp @@ -33,8 +33,9 @@ bool Meteor::Update(float fElapsedTime){ void Meteor::Draw(){ if(lifetime>0){ vf2d scale=vf2d{192,64}/3.f*(startLifetime+1-lifetime)*0.25*size; + vf2d meteorOffset=vf2d{lifetime,0}*120; vf2d centerPoint=pos-vf2d{game->GFX_Circle.Sprite()->width*scale.x/2,game->GFX_Circle.Sprite()->height*scale.y/2}; - game->view.DrawDecal(centerPoint,game->GFX_Circle.Decal(),scale,{0,0,0,192}); + game->view.DrawDecal(centerPoint+meteorOffset,game->GFX_Circle.Decal(),scale,{0,0,0,192}); } vf2d meteorOffset=pos+vf2d{lifetime,-lifetime}*320-vf2d{0,GetFrame().GetSourceRect().size.y/4.f}*size; if(lifetime<=0){ diff --git a/Crawler/Version.h b/Crawler/Version.h index 21917f3d..f0fb0cd9 100644 --- a/Crawler/Version.h +++ b/Crawler/Version.h @@ -2,7 +2,7 @@ #define VERSION_MAJOR 0 #define VERSION_MINOR 2 #define VERSION_PATCH 0 -#define VERSION_BUILD 828 +#define VERSION_BUILD 832 #define stringify(a) stringify_(a) #define stringify_(a) #a