mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-24 17:26:41 +00:00
fix oversized tile quads when moving font tiles in the editor
This commit is contained in:
parent
011b9f2a82
commit
04512d7b57
1 changed files with 2 additions and 2 deletions
|
@ -102,9 +102,9 @@ std::string getMapTemplateFilename()
|
|||
static void tileToQuad(Quad *q, const TileData& t)
|
||||
{
|
||||
q->position = Vector(t.x, t.y);
|
||||
q->setWidthHeight(t.et->w, t.et->h);
|
||||
q->scale = Vector(t.scalex, t.scaley);
|
||||
q->setTexturePointer(t.et->tex);
|
||||
q->setWidthHeight(t.et->w, t.et->h); // set AFTER texture
|
||||
q->scale = Vector(t.scalex, t.scaley);
|
||||
q->fhTo(!!(t.flags & TILEFLAG_FH));
|
||||
q->rotation.z = t.rotation;
|
||||
if(t.flags & TILEFLAG_REPEAT && t.rep)
|
||||
|
|
Loading…
Reference in a new issue