character: fix unset scale when using RegisterSpritesheetFromBitmap

This commit is contained in:
Sebastian Krzyszkowiak 2020-01-16 03:01:58 +01:00
parent cddb35dd95
commit 11c49a786d
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -436,6 +436,7 @@ SYMBOL_EXPORT void RegisterSpritesheetFromBitmap(struct Game* game, struct Chara
s->offsetX = 0;
s->offsetY = 0;
s->shared = true;
s->scale = LIBSUPERDERPY_IMAGE_SCALE;
s->stream = NULL;
s->stream_data = NULL;
s->stream_destructor = NULL;