Everguest Newbie
Joined: Jul 09 2006 Posts: 2 Offline
|
Posted: Sun Jul 09, 2006 7:28 pm Post subject: Possible asss error in objects.c |
 |
|
|
|
Shouldn't
#define BEGIN_EXTENDED(t, id) \
byte pkt[1 + sizeof(struct ObjectMove)]; \
struct ObjectMove *objm = (struct ObjectMove *)(pkt + 1); \
if (t->type != T_ARENA) return; \
aodata *ad = P_ARENA_DATA(t->u.arena, aokey); \
lvzdata *node; \
pkt[0] = S2C_MOVEOBJECT; \
MUTEX_LOCK(ad); \
if ((node = getDataFromId(&ad->list, id))) \
{ \
memcpy((byte*)objm + 1, &node->current, sizeof(struct ObjectData)) |
be
#define BEGIN_EXTENDED(t, id) \
byte pkt[1 + sizeof(struct ObjectMove)]; \
struct ObjectMove *objm = (struct ObjectMove *)(pkt + 1); \
aodata *ad; \
lvzdata *node; \
if (t->type != T_ARENA) return; \
ad = P_ARENA_DATA(t->u.arena, aokey); \
pkt[0] = S2C_MOVEOBJECT; \
MUTEX_LOCK(ad); \
if ((node = getDataFromId(&ad->list, id))) \
{ \
memcpy((byte*)objm + 1, &node->current, sizeof(struct ObjectData)) |
|
|