diff options
author | Trumeet <yuuta@yuuta.moe> | 2022-07-29 11:55:40 -0700 |
---|---|---|
committer | Trumeet <yuuta@yuuta.moe> | 2022-07-29 11:55:40 -0700 |
commit | 41d27344c3b489466632bd2f1314fd69ff0a363c (patch) | |
tree | 4fbb1e118593da7b78813fbd9184d9c7a0c450d6 /client/libacron/include/events.h | |
parent | b897bfe9f99872c701924f3cce269e6a36ea5bb5 (diff) | |
download | acron-41d27344c3b489466632bd2f1314fd69ff0a363c.tar acron-41d27344c3b489466632bd2f1314fd69ff0a363c.tar.gz acron-41d27344c3b489466632bd2f1314fd69ff0a363c.tar.bz2 acron-41d27344c3b489466632bd2f1314fd69ff0a363c.zip |
fix(libacron): spec incompliance: player is optional in disconnect events
API:CHANGE
Diffstat (limited to 'client/libacron/include/events.h')
-rw-r--r-- | client/libacron/include/events.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/libacron/include/events.h b/client/libacron/include/events.h index 93a5184..17ecd74 100644 --- a/client/libacron/include/events.h +++ b/client/libacron/include/events.h @@ -23,7 +23,7 @@ typedef struct ac_event_player_join { #define AC_EVENT_PLAYER_DISCONNECT AC_ID(AC_TYPE_EVENT, 2 /* 0b0000010 */) /* 0b00000010 */ typedef struct ac_event_player_disconnect { uint8_t type; - ac_entity_t player; + ac_entity_t *player; char *reason; } ac_event_player_disconnect_t; |