Get rid of unneccesary cast in text.c

This commit is contained in:
DizzyEggg 2019-07-01 21:08:49 +02:00 committed by GitHub
parent 7500534676
commit 2da0e73ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ bool16 AddTextPrinter(struct TextPrinterTemplate *printerTemplate, u8 speed, voi
gTempTextPrinter.textSpeed = 0;
for (j = 0; j < 0x400; ++j)
{
if ((u32)RenderFont(&gTempTextPrinter) == 1)
if (RenderFont(&gTempTextPrinter) == 1)
break;
}