mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-07 21:56:44 +01:00
fix compiler warning
This commit is contained in:
parent
31f173f2a8
commit
e873e96194
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ SYMBOL_EXPORT void RegisterSpritesheet(struct Game *game, struct Character *char
|
|||
s->rows = atoi(al_get_config_value(config, "", "rows"));
|
||||
s->blanks = atoi(al_get_config_value(config, "", "blanks"));
|
||||
s->delay = atof(al_get_config_value(config, "", "delay"));
|
||||
char* val = al_get_config_value(config, "", "repeat");
|
||||
const char* val = al_get_config_value(config, "", "repeat");
|
||||
if (val) {
|
||||
s->repeat = atof(val);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue