From be8b2eaed13475ae043daa81882e490e78396562 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 12 Aug 2015 01:34:41 +0200 Subject: Fixed some issues reported by Coverity Follow-up to 5090bdf750017f0d631401edd563c452bd10ec24, 84e02ac28fbb15c58d0a0f8a916b49663198b05b Signed-off-by: Haru --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 4da555cd5..e43d4d7f6 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3770,7 +3770,7 @@ int inter_config_read(char *cfgName) { else if(strcmpi(w1,"use_sql_mob_skill_db")==0) { map->db_use_sql_mob_skill_db = config_switch(w2); ShowStatus ("Using monster skill database as SQL: '%s'\n", w2); - if (map->db_use_sql_mob_db) { + if (map->db_use_sql_mob_skill_db) { // Deprecated 2015-08-09 [Haru] ShowWarning("Support for the SQL monster skill database is deprecated and it will removed in future versions. " "Please upgrade to the non-sql version as soon as possible. " -- cgit v1.2.3-70-g09d2