Mercurial > hg > openttd
changeset 11957:cf17c3e7700b draft
(svn r16361) -Fix: pointer incremented with wrong count
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 19 May 2009 21:25:20 +0000 |
parents | 6ec97548e188 |
children | c0609b8a8d95 |
files | src/network/network_content.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/network/network_content.cpp +++ b/src/network/network_content.cpp @@ -187,7 +187,7 @@ this->Send_Packet(p); count -= p_count; - content_ids += count; + content_ids += p_count; } } @@ -271,7 +271,7 @@ this->Send_Packet(p); count -= p_count; - content_ids += count; + content_ids += p_count; } free(ids);