diff options
author | Haru <haru@dotalux.com> | 2019-10-18 15:08:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 15:08:03 +0200 |
commit | 9ccfb2defb07670b4f350ed5853ae1a997d917d2 (patch) | |
tree | f0a93da2ac6b5d2fa06e4db8d78f0e950fbf24d0 /src/map/map.c | |
parent | 1e72ad082e6e10b0a4fbbe703ce6ad44efb4063d (diff) | |
parent | 9e82150f9c3cbe2f83843a6d5fffaf3d91a7b119 (diff) | |
download | hercules-9ccfb2defb07670b4f350ed5853ae1a997d917d2.tar.gz hercules-9ccfb2defb07670b4f350ed5853ae1a997d917d2.tar.bz2 hercules-9ccfb2defb07670b4f350ed5853ae1a997d917d2.tar.xz hercules-9ccfb2defb07670b4f350ed5853ae1a997d917d2.zip |
Merge pull request #2537 from 4144/updatepackets
Update packets up to 2019-10-02
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 332bbe75f..f3fc9d46b 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -6835,7 +6835,10 @@ void map_defaults(void) map->bl_list_size = 0; //all in a big chunk, respects order +PRAGMA_GCC9(GCC diagnostic push) +PRAGMA_GCC9(GCC diagnostic ignored "-Warray-bounds") memset(ZEROED_BLOCK_POS(map), 0, ZEROED_BLOCK_SIZE(map)); +PRAGMA_GCC9(GCC diagnostic pop) map->cpsd = NULL; map->list = NULL; |