diff options
author | Haru <haru@dotalux.com> | 2016-04-19 15:26:36 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-04-23 18:42:57 +0200 |
commit | 2b1dce1e4acf46941657cab6da008c774f52de7c (patch) | |
tree | 008455c1ef1f50c4b2eb8e26f18262f26d9dc5d7 /src/map/script.c | |
parent | 3af03d2a2e8f2054f9a44e272505b1a74d6bdaf6 (diff) | |
download | hercules-2b1dce1e4acf46941657cab6da008c774f52de7c.tar.gz hercules-2b1dce1e4acf46941657cab6da008c774f52de7c.tar.bz2 hercules-2b1dce1e4acf46941657cab6da008c774f52de7c.tar.xz hercules-2b1dce1e4acf46941657cab6da008c774f52de7c.zip |
Changed map_session_data::chatID to int (and renamed to chat_id)
- Chat IDs are signed integers.
- Resolves various warnings, depending on the compiler settings.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 007c6e0e1..e76f62f49 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -16479,7 +16479,7 @@ BUILDIN(checkchatting) { sd = script->rid2sd(st); if (sd != NULL) - script_pushint(st,(sd->chatID != 0)); + script_pushint(st, (sd->chat_id != 0)); else script_pushint(st,0); |