From 11c49a786d10affada149bdcb26207e510827cac Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Thu, 16 Jan 2020 03:01:58 +0100 Subject: [PATCH] character: fix unset scale when using RegisterSpritesheetFromBitmap --- src/character.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/character.c b/src/character.c index 8ddfa77..edfcfbc 100644 --- a/src/character.c +++ b/src/character.c @@ -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;