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 /network.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 'network.c')
-rw-r--r-- | network.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -398,7 +398,7 @@ void NetworkProcessCommands() assert(_future_seed[0].frame >= _frame_counter); if (_future_seed[0].frame != _frame_counter) break; if (_future_seed[0].seed[0] != _sync_seed_1 ||_future_seed[0].seed[1] != _sync_seed_2) NetworkHandleDeSync(); - memcpy_overlapping(_future_seed, _future_seed + 1, --_num_future_seed * sizeof(FutureSeeds)); + memmove(_future_seed, _future_seed + 1, --_num_future_seed * sizeof(FutureSeeds)); } } } |