summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-27 10:36:30 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-27 10:36:30 +0000
commitb3574d7f0a8565ecc46bc6ba8d128688156b6331 (patch)
tree1aff9636ac994ff3bece032421cc23a6d92efd1f /src/map/clif.c
parent249b427c3ce9b90cbec7aa50e3b04100f3f95d1c (diff)
downloadhercules-b3574d7f0a8565ecc46bc6ba8d128688156b6331.tar.gz
hercules-b3574d7f0a8565ecc46bc6ba8d128688156b6331.tar.bz2
hercules-b3574d7f0a8565ecc46bc6ba8d128688156b6331.tar.xz
hercules-b3574d7f0a8565ecc46bc6ba8d128688156b6331.zip
* Added use dynamic allocation when loading the msg_table
* Refresh the client when day comes to get rid of the night effect * Changed @refresh to fake map loading, but without teleporting side effect * Updated SQL file for the item_db git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1307 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 74d26dbac..d9665b527 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7318,6 +7318,14 @@ int clif_specialeffect(struct block_list *bl, int type, int flag) {
return 0;
}
+
+// refresh the client's screen, getting rid of any effects
+int clif_refresh(struct map_session_data *sd) {
+ nullpo_retr(-1, sd);
+ clif_changemap(sd,sd->mapname,sd->bl.x,sd->bl.y);
+ return 0;
+}
+
// ------------
// clif_parse_*
// ------------