From 2b1dce1e4acf46941657cab6da008c774f52de7c Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 19 Apr 2016 15:26:36 +0200 Subject: 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 --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script.c') 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); -- cgit v1.2.3-70-g09d2