Fix problem I introduced in r4013 that would make buildings occasionally get 0 hp.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4265 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
19c5c083d3
commit
fa476549e3
|
@ -747,14 +747,14 @@ BOOL recvStructureCheck()
|
||||||
int i, j;
|
int i, j;
|
||||||
float direction;
|
float direction;
|
||||||
uint8_t player, ourCapacity;
|
uint8_t player, ourCapacity;
|
||||||
uint16_t body;
|
uint32_t body;
|
||||||
uint16_t x, y, z;
|
uint16_t x, y, z;
|
||||||
uint32_t ref, type;
|
uint32_t ref, type;
|
||||||
|
|
||||||
NETbeginDecode(NET_CHECK_STRUCT);
|
NETbeginDecode(NET_CHECK_STRUCT);
|
||||||
NETuint8_t(&player);
|
NETuint8_t(&player);
|
||||||
NETuint32_t(&ref);
|
NETuint32_t(&ref);
|
||||||
NETuint16_t(&body);
|
NETuint32_t(&body);
|
||||||
NETuint32_t(&type);
|
NETuint32_t(&type);
|
||||||
NETuint16_t(&x);
|
NETuint16_t(&x);
|
||||||
NETuint16_t(&y);
|
NETuint16_t(&y);
|
||||||
|
|
Loading…
Reference in New Issue