1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r2014) Don't manually inline a piece of code

This commit is contained in:
tron
2005-03-15 16:56:05 +00:00
parent cf43c7a0e6
commit f91f8d9559

View File

@@ -230,13 +230,7 @@ static void SlCopyBytes(void *ptr, size_t length)
}
} else {
while(length) {
// INLINED SlReadByte
#if !defined(_DEBUG)
if (_sl.bufp == _sl.bufe) SlReadFill();
*p++ = *_sl.bufp++;
#else
*p++ = SlReadByte();
#endif
length--;
}
}