fixed copy/paste mistake

This commit is contained in:
zicodxx 2012-04-30 00:38:45 +02:00
parent 347775de93
commit b0f34d2b89
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog
20120430
--------
main/net_udp.c: fixed copy/paste mistake
20120427
--------
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

View file

@ -2710,7 +2710,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