Read squirrel script files as unsigned chars
commit4527672ff8fe0d19b5410d8d884c6d0928d7a72d
authorrubidium <rubidium@openttd.org>
Sun, 7 Sep 2014 16:03:02 +0000 (7 16:03 +0000)
committercirdan <cirdansw@gmail.com>
Sun, 28 Sep 2014 06:49:33 +0000 (28 08:49 +0200)
tree4ab4578fe2c9c935224340a80f85325ecd92d068
parent41a9d1f3ba1f28dae0e714ebf737d60a11c1dd59
Read squirrel script files as unsigned chars

(openttd r26796) -Fix: reading of high byte of "ASCII" files yielded
a negative int8, then casted to an uint32 which caused the Squirrel
lexer to bail out. Regardless... the file isn't actually ASCII, but
that's beyond the point for now
src/script/squirrel.cpp