mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-04 16:28:00 +01:00
character: Allow to set global scale in spritesheet definition
This commit is contained in:
parent
015b9dbaff
commit
84c56bb12b
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ SYMBOL_EXPORT void RegisterSpritesheet(struct Game* game, struct Character* char
|
|||
s->frames[i].end = i == (s->frame_count - 1) ? true : false;
|
||||
}
|
||||
|
||||
s->scale = LIBSUPERDERPY_IMAGE_SCALE;
|
||||
s->scale = strtodnull(al_get_config_value(config, "animation", "scale"), 1.0) * LIBSUPERDERPY_IMAGE_SCALE;
|
||||
|
||||
s->stream = NULL;
|
||||
s->stream_data = NULL;
|
||||
|
|
Loading…
Reference in a new issue