Changeset - r10034:721dfc52958a
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-08-30 12:14:56
rubidium@openttd.org
(svn r14193) -Fix (r14191): don't put an unsigned 0x80 in a signed int8 as that's not what you want.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/spritecache.cpp
Show inline comments
 
@@ -85,9 +85,9 @@ void SkipSpriteData(byte type, uint16 nu
 
		while (num > 0) {
 
			int8 i = FioReadByte();
 
			if (i >= 0) {
 
				i = (i == 0) ? 0x80 : i;
 
				num -= i;
 
				FioSkipBytes(i);
 
				int size = (i == 0) ? 0x80 : i;
 
				num -= size;
 
				FioSkipBytes(size);
 
			} else {
 
				i = -(i >> 3);
 
				num -= i;
0 comments (0 inline, 0 general)