summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-15 10:31:48 +0000
committertron <tron@openttd.org>2004-11-15 10:31:48 +0000
commit57c472e093aad072d5c4113790dfafbca0f40fa6 (patch)
tree33cba4e194270ded85bd9c544bbf733f90eda205 /network.c
parent01e88bb61d00c96991d9280cea6bc188cc42db33 (diff)
downloadopenttd-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.c b/network.c
index b8df0cb31..50ff771d5 100644
--- a/network.c
+++ b/network.c
@@ -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));
}
}
}