- fixed: The desaturation translation addition broke parsing of palette index based translations.

SVN r1925 (trunk)
This commit is contained in:
Christoph Oelckers 2009-10-17 07:05:34 +00:00
parent 8b27bd1434
commit bbcd6ed5f9
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
October 17, 2009 (Changes by Graf Zahl)
- fixed: The translation addition broke parsing of palette index based translations.
October 16, 2009 (Changes by Graf Zahl) October 16, 2009 (Changes by Graf Zahl)
- added 'defaultterrain' option to terrain parser for mods that want to have - added 'defaultterrain' option to terrain parser for mods that want to have
a different default terrain than a generic solid surface. a different default terrain than a generic solid surface.

View file

@ -463,7 +463,7 @@ void FRemapTable::AddToTranslation(const char * range)
{ {
int pal1,pal2; int pal1,pal2;
sc.MustGetToken(TK_IntConst); sc.TokenMustBe(TK_IntConst);
pal1 = sc.Number; pal1 = sc.Number;
sc.MustGetToken(':'); sc.MustGetToken(':');
sc.MustGetToken(TK_IntConst); sc.MustGetToken(TK_IntConst);