Blink message box faster.
This commit is contained in:
parent
8c3a31b888
commit
35d03c1c39
|
@ -486,7 +486,7 @@ static void drawTargetRects(Entity *e)
|
||||||
SDL_RenderDrawRect(app.renderer, &r);
|
SDL_RenderDrawRect(app.renderer, &r);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e == battle.messageSpeaker && e != player && battle.stats[STAT_TIME] % 60 < 40)
|
if (e == battle.messageSpeaker && e != player && battle.stats[STAT_TIME] % 40 < 20)
|
||||||
{
|
{
|
||||||
r.x = e->x - (size / 2) - battle.camera.x;
|
r.x = e->x - (size / 2) - battle.camera.x;
|
||||||
r.y = e->y - (size / 2) - battle.camera.y;
|
r.y = e->y - (size / 2) - battle.camera.y;
|
||||||
|
|
Loading…
Reference in New Issue