diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-01-07 22:40:52 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-01-07 22:40:52 -0500 |
commit | 05111ba3e59b96c51e1fa7c24d673eb2d77ec1cd (patch) | |
tree | cf39133ec53f9f7c408f43a861d1c1e23b199c17 /src | |
parent | c31caa18f969199a3fb91995ae08b29368cf010d (diff) | |
download | sok-05111ba3e59b96c51e1fa7c24d673eb2d77ec1cd.tar.bz2 sok-05111ba3e59b96c51e1fa7c24d673eb2d77ec1cd.zip |
fix floor RLE parsing
Diffstat (limited to 'src')
-rw-r--r-- | src/libsok/sok-level-parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 '+': |