Fixes visual bug in shops when above 2x text speed (#211)

This commit is contained in:
Ada 2022-04-24 16:04:06 +01:00 committed by GitHub
parent 576842ac74
commit ffa4a11148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1144,7 +1144,7 @@ void Message_DrawText(GlobalContext* globalCtx, Gfx** gfxP) {
} }
} }
if (msgCtx->textDelayTimer == 0) { if (msgCtx->textDelayTimer == 0) {
msgCtx->textDrawPos = i + CVar_GetS32("gTextSpeed", 1); msgCtx->textDrawPos = i + 1;
msgCtx->textDelayTimer = msgCtx->textDelay; msgCtx->textDelayTimer = msgCtx->textDelay;
} else { } else {
msgCtx->textDelayTimer--; msgCtx->textDelayTimer--;