mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-30 10:54:40 +00:00
(svn r2014) Don't manually inline a piece of code
This commit is contained in:
parent
cf43c7a0e6
commit
f91f8d9559
@ -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--;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user