From b466072fd59363bc6d13862f5e960728944633d3 Mon Sep 17 00:00:00 2001 From: zicodxx Date: Mon, 30 Apr 2012 00:38:41 +0200 Subject: [PATCH] fixed copy/paste mistake --- CHANGELOG.txt | 4 ++++ main/net_udp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 63e557765..e0f229bd4 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,9 @@ D1X-Rebirth Changelog +20120430 +-------- +main/net_udp.c: fixed copy/paste mistake + 20120427 -------- main/inferno.c, main/multi.c, main/multi.h: Similar to Network_new_game introduced imulti_new_game to exclusivly use in multi.c to execute stuff in new level only when starting a new game - for example resetting player ship inventory which is not supposed to happen on each level; Removed long obsolete control_invul_time varible diff --git a/main/net_udp.c b/main/net_udp.c index 5a30799bf..ddc4bfd66 100644 --- a/main/net_udp.c +++ b/main/net_udp.c @@ -2608,7 +2608,7 @@ void net_udp_read_endlevel_packet( ubyte *data, int data_len, struct _sockaddr s { kill_matrix[pnum][i] = GET_INTEL_SHORT(&(data[len])); len += 2; } - if (Players[i].connected) + if (Players[pnum].connected) Netgame.players[pnum].LastPacketTime = timer_query(); } else