summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/re/quests/quests_eclage.txt2
-rw-r--r--src/map/itemdb.c2
-rw-r--r--src/map/map.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/quests/quests_eclage.txt b/npc/re/quests/quests_eclage.txt
index b2095ecdb..918a8edd3 100644
--- a/npc/re/quests/quests_eclage.txt
+++ b/npc/re/quests/quests_eclage.txt
@@ -18225,7 +18225,7 @@ ecl_fild01,205,86,3 script Eclage Messenger Roy#tl 4_M_FAIRYSOLDIER2,{
mes "This is a little something for you.";
mes "I'll be looking forward to seeing you!";
delitem Mail_Package,1; //Mail_Package
- changequest 7430,4731;
+ changequest 7430,7431;
getexp 200000,200000;
getitem Splendide_Coin,1; //Splendide_Coin
close;
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 7de99cf7e..644c16a00 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -75,7 +75,7 @@ struct item_data* itemdb_searchname(const char *str) {
return item;
//Second priority to Client displayed name.
- if( item2 != 0 && strcasecmp(item->jname,str) == 0 )
+ if (!item2 && strcasecmp(item->jname,str) == 0)
item2 = item;
}
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. "