Fix for rev959: my_pnum must be defined static
This commit is contained in:
parent
38df3322e3
commit
10e4fc3274
|
@ -3,6 +3,7 @@ D1X-Rebirth Changelog
|
|||
20110109
|
||||
--------
|
||||
main/net_udp.h: Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)
|
||||
main/net_udp.c: Fix for rev959: my_pnum must be defined static
|
||||
|
||||
20110106
|
||||
--------
|
||||
|
|
|
@ -1459,8 +1459,8 @@ void net_udp_read_object_packet( ubyte *data )
|
|||
{
|
||||
// Object from another net player we need to sync with
|
||||
object *obj;
|
||||
sbyte obj_owner, my_pnum = 0;
|
||||
static int mode = 0, object_count = 0;
|
||||
sbyte obj_owner;
|
||||
static int mode = 0, object_count = 0, my_pnum = 0;
|
||||
int i = 0, segnum = 0, objnum = 0, remote_objnum = 0, nobj = 0, loc = 5;
|
||||
|
||||
nobj = GET_INTEL_INT(data + 1);
|
||||
|
|
Loading…
Reference in a new issue