diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-26 11:17:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-06 15:09:54 +0100 |
commit | 3364658237805c34ebc074d52d34f540c8a8ee56 (patch) | |
tree | 1bae2bca09c3f8b08d5a41be55efbe3cb2fa3d1a /src/map/battleground.c | |
parent | 1249dc22081a0be982489aae8f18e1658e0cba95 (diff) | |
download | hercules-3364658237805c34ebc074d52d34f540c8a8ee56.tar.gz hercules-3364658237805c34ebc074d52d34f540c8a8ee56.tar.bz2 hercules-3364658237805c34ebc074d52d34f540c8a8ee56.tar.xz hercules-3364658237805c34ebc074d52d34f540c8a8ee56.zip |
Change all TBL_HOM to struct homun_data as per style guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r-- | src/map/battleground.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c index 799a502d4..7ac18daf8 100644 --- a/src/map/battleground.c +++ b/src/map/battleground.c @@ -234,8 +234,8 @@ int bg_team_get_id(struct block_list *bl) { return md->bg_id; } case BL_HOM: - if( ((TBL_HOM*)bl)->master ) - return ((TBL_HOM*)bl)->master->bg_id; + if (((struct homun_data *)bl)->master != NULL) + return ((struct homun_data*)bl)->master->bg_id; break; case BL_MER: if( ((TBL_MER*)bl)->master ) |