mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-07-06 02:20:20 +02:00
fix parseColorsStream
Fixes: 173dd75b31
("Simplify color parsing code")
This commit is contained in:
@ -264,6 +264,7 @@ void TileGenerator::parseColorsStream(std::istream &in)
|
|||||||
char line[128], *p;
|
char line[128], *p;
|
||||||
while (in.good()) {
|
while (in.good()) {
|
||||||
in.getline(line, 128);
|
in.getline(line, 128);
|
||||||
|
p = line;
|
||||||
while(*p++ != '\0') {
|
while(*p++ != '\0') {
|
||||||
if(*p != '#')
|
if(*p != '#')
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user