mirror of
https://github.com/luanti-org/minetestmapper.git
synced 2025-11-06 19:05:18 +01: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;
|
||||
while (in.good()) {
|
||||
in.getline(line, 128);
|
||||
p = line;
|
||||
while(*p++ != '\0') {
|
||||
if(*p != '#')
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user