fix flip and image

This commit is contained in:
Anthony Calosa
2016-08-13 21:14:43 +08:00
parent 27145bdabe
commit df3e6e5fb7
2 changed files with 5 additions and 1 deletions

View File

@@ -403,7 +403,7 @@ void CardGui::Render()
mFont->SetScale(actZ);
mFont->SetScale(actZ);
float halfbufferW = (mFont->GetStringWidth(buffer))/2;
mFont->DrawString(buffer, actX - halfbufferW * actZ, actY + 7 * actZ);
mFont->DrawString(buffer, actX - halfbufferW, actY + 7 * actZ);
mFont->SetScale(1);
}