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