Swap U offset for idle/pressed cursor sprites

Since the cursor is mostly idle, it makes sense to set its sprite as
the default.
This commit is contained in:
Xavier Del Campo Romero 2022-09-26 02:23:20 +02:00
parent 11810e8760
commit f5c7e88b26
1 changed files with 1 additions and 1 deletions

View File

@ -50,10 +50,10 @@ int cursor_render(const struct cursor *const c)
switch (c->state)
{
case CURSOR_STATE_IDLE:
s->u += CAMERA_CURSOR_WIDTH;
break;
case CURSOR_STATE_PRESSED:
s->u += CAMERA_CURSOR_WIDTH;
break;
}