summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-14 03:42:34 -0300
committershennetsind <ind@henn.et>2013-09-14 03:42:34 -0300
commitf1a594db1b40a5a20ec5a4af093b27c58266cba0 (patch)
treeb1e8beb0ecca04654d21e1eadda61de4cecd1227 /src/map/pc.c
parent0fd46a8156bfd9b66c2237f61e43c492c418181c (diff)
parenteb10f355f7e228b59011326a7f84da2e593affea (diff)
downloadhercules-f1a594db1b40a5a20ec5a4af093b27c58266cba0.tar.gz
hercules-f1a594db1b40a5a20ec5a4af093b27c58266cba0.tar.bz2
hercules-f1a594db1b40a5a20ec5a4af093b27c58266cba0.tar.xz
hercules-f1a594db1b40a5a20ec5a4af093b27c58266cba0.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d40f747a3..421099ce1 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4753,7 +4753,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl, uint16 skil
char message[128];
sprintf (message, msg_txt(542), (sd->status.name != NULL)?sd->status.name :"GM", md->db->jname, data->jname, (float)md->db->dropitem[i].p/100);
//MSG: "'%s' stole %s's %s (chance: %0.02f%%)"
- intif->broadcast(message,strlen(message)+1,0);
+ intif->broadcast(message, strlen(message)+1, BC_DEFAULT);
}
return 1;
}
@@ -9368,7 +9368,7 @@ int map_day_timer(int tid, unsigned int tick, int id, intptr_t data)
iMap->night_flag = 0; // 0=day, 1=night [Yor]
iMap->map_foreachpc(pc_daynight_timer_sub);
strcpy(tmp_soutput, (data == 0) ? msg_txt(502) : msg_txt(60)); // The day has arrived!
- intif->broadcast(tmp_soutput, strlen(tmp_soutput) + 1, 0);
+ intif->broadcast(tmp_soutput, strlen(tmp_soutput) + 1, BC_DEFAULT);
return 0;
}
@@ -9389,7 +9389,7 @@ int map_night_timer(int tid, unsigned int tick, int id, intptr_t data)
iMap->night_flag = 1; // 0=day, 1=night [Yor]
iMap->map_foreachpc(pc_daynight_timer_sub);
strcpy(tmp_soutput, (data == 0) ? msg_txt(503) : msg_txt(59)); // The night has fallen...
- intif->broadcast(tmp_soutput, strlen(tmp_soutput) + 1, 0);
+ intif->broadcast(tmp_soutput, strlen(tmp_soutput) + 1, BC_DEFAULT);
return 0;
}