diff options
author | tron <tron@openttd.org> | 2004-11-15 10:31:48 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-15 10:31:48 +0000 |
commit | 57c472e093aad072d5c4113790dfafbca0f40fa6 (patch) | |
tree | 33cba4e194270ded85bd9c544bbf733f90eda205 /texteff.c | |
parent | 01e88bb61d00c96991d9280cea6bc188cc42db33 (diff) | |
download | openttd-57c472e093aad072d5c4113790dfafbca0f40fa6.tar.xz |
(svn r624) Merge r377 to trunk:
Remove the memmove special case for MSVC
According to the MSDN it was just plain wrong and memmove was directly used in some places anyway
Diffstat (limited to 'texteff.c')
-rw-r--r-- | texteff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ void DeleteAnimatedTile(uint tile) for(ti=_animated_tile_list; ti!=endof(_animated_tile_list); ti++) { if ( (TileIndex)tile == *ti) { /* remove the hole */ - memcpy_overlapping(ti, ti+1, endof(_animated_tile_list) - 1 - ti); + memmove(ti, ti+1, endof(_animated_tile_list) - 1 - ti); /* and clear last item */ endof(_animated_tile_list)[-1] = 0; MarkTileDirtyByTile(tile); |