(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
This commit is contained in:
tron
2004-11-15 10:31:48 +00:00
parent 01e88bb61d
commit 57c472e093
5 changed files with 8 additions and 14 deletions

View File

@@ -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);