From 05111ba3e59b96c51e1fa7c24d673eb2d77ec1cd Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 7 Jan 2019 22:40:52 -0500 Subject: fix floor RLE parsing --- src/libsok/sok-level-parser.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/libsok/sok-level-parser.c b/src/libsok/sok-level-parser.c index 75ac133..276ebcb 100644 --- a/src/libsok/sok-level-parser.c +++ b/src/libsok/sok-level-parser.c @@ -83,6 +83,7 @@ sok_level_parser_parse( case ' ': // advance pos.x += (ofs > 0) ? ofs : 1; + ofs = 0; break; case '+': -- cgit v1.2.3