diff options
author | Haru <haru@dotalux.com> | 2015-12-02 11:54:36 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-02 11:55:16 +0100 |
commit | 300668dce8699accfb3e8cbce6db55b937230bb7 (patch) | |
tree | 5e9f28572c21e4dfe0afc8b43640109ac4db6337 /src/common/mmo.h | |
parent | 9be1d84752ba2ed733ae29d68304f5825cf29162 (diff) | |
download | hercules-300668dce8699accfb3e8cbce6db55b937230bb7.tar.gz hercules-300668dce8699accfb3e8cbce6db55b937230bb7.tar.bz2 hercules-300668dce8699accfb3e8cbce6db55b937230bb7.tar.xz hercules-300668dce8699accfb3e8cbce6db55b937230bb7.zip |
Fixed compile errors on very old PACKETVERs
- Fixes #903 and other similar problems
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index 73d4510a1..095b96341 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -462,13 +462,15 @@ struct s_friend { char name[NAME_LENGTH]; }; -#ifdef HOTKEY_SAVING struct hotkey { +#ifdef HOTKEY_SAVING unsigned int id; unsigned short lv; unsigned char type; // 0: item, 1: skill -}; +#else // not HOTKEY_SAVING + UNAVAILABLE_STRUCT; #endif +}; struct mmo_charstatus { int char_id; |