mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-15 08:35:11 +01: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 {
|
} else {
|
||||||
while(length) {
|
while(length) {
|
||||||
// INLINED SlReadByte
|
|
||||||
#if !defined(_DEBUG)
|
|
||||||
if (_sl.bufp == _sl.bufe) SlReadFill();
|
|
||||||
*p++ = *_sl.bufp++;
|
|
||||||
#else
|
|
||||||
*p++ = SlReadByte();
|
*p++ = SlReadByte();
|
||||||
#endif
|
|
||||||
length--;
|
length--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user