summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-03-15 16:56:05 +0000
committertron <tron@openttd.org>2005-03-15 16:56:05 +0000
commitf91f8d9559a559410e7b2780249cfc1b6ab68326 (patch)
treeab4a58822e6e3c32f6a3e826b3287b355fcf9564 /saveload.c
parentcf43c7a0e69dcad5cfa1a88bed5c5c1743d42ca4 (diff)
downloadopenttd-f91f8d9559a559410e7b2780249cfc1b6ab68326.tar.xz
(svn r2014) Don't manually inline a piece of code
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/saveload.c b/saveload.c
index 2ba8d9e30..c511aee32 100644
--- a/saveload.c
+++ b/saveload.c
@@ -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--;
}
}