Reading timers.

This commit is contained in:
Miroslav Bendík
2012-08-24 14:48:55 +02:00
parent 2319d5f0ed
commit 18598bba3c
2 changed files with 9 additions and 1 deletions

View File

@ -309,6 +309,14 @@ void TileGenerator::renderMap()
m_nameMap[nodeId] = string(data + dataOffset, nameLen);
}
}
// Node timers
if (version >= 25) {
dataOffset++;
int numTimers = readU16(data + dataOffset);
dataOffset += 2;
dataOffset += numTimers * 10;
}
}
}
}