summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-11-13 17:38:21 +0100
committerHaru <haru@dotalux.com>2018-11-13 17:38:21 +0100
commit35ee16dd3908c021752e439a4fe4ea9e83af9ec0 (patch)
treed0de667fae7b066a61d793fa8b1fa421718f70cc /src/map/pc.h
parent1e5df06b8a23ea13c3fc1b07339c261a77600bae (diff)
downloadhercules-35ee16dd3908c021752e439a4fe4ea9e83af9ec0.tar.gz
hercules-35ee16dd3908c021752e439a4fe4ea9e83af9ec0.tar.bz2
hercules-35ee16dd3908c021752e439a4fe4ea9e83af9ec0.tar.xz
hercules-35ee16dd3908c021752e439a4fe4ea9e83af9ec0.zip
Replace sd->channels with a VECTOR
This removes some shady array compaction code and prepares the ground for some further fixes. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 4ee5f560b..8302279b1 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -557,8 +557,7 @@ END_ZEROED_BLOCK;
int shadowform_id;
/* [Ind/Hercules] */
- struct channel_data **channels;
- unsigned char channel_count;
+ VECTOR_DECL(struct channel_data *) channels;
struct channel_data *gcbind;
unsigned char fontcolor;
int fontcolor_tid;