(YPF): account for another script version.

This commit is contained in:
morkt 2019-01-05 21:51:04 +04:00
parent 01d7fe6738
commit dc436d4ccb

View File

@ -383,7 +383,7 @@ namespace GameRes.Formats.YuRis
uint* header = (uint*)raw;
uint version = header[1];
int first_item, last_item;
if (version >= 0x1CB || 0x12C == version || 0x19A == version || 0x1C3 == version || 0x19C == version)
if (version >= 0x1CB || 0x12C == version || 0x19A == version || 0x1C3 == version || 0x19C == version || 0x198 == version)
{
first_item = 3;
last_item = 7;