Removing some compiler warnings.

This commit is contained in:
2021-09-02 07:01:31 -07:00
parent a731fa6fd6
commit ed3113a767
6 changed files with 18 additions and 17 deletions

View File

@ -61,8 +61,8 @@ void _vnCharacterBuffer(vncharacter_t *character,
float tpy = 1.0f / (float)character->texture->height;
// Center inside the character
x -= (float)character->baseWidth / 2;
y += (float)character->baseHeight / 2;
x -= character->baseWidth / 2;
y += character->baseHeight / 2;
quadBuffer(&character->primitive, 0.001f * (float)i,
(float)x * ps, 1 - (float)y * ps,