summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-17 15:03:03 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-17 15:03:03 +0000
commit372b71e5d7099373a20b14459182f9a3a05dbbba (patch)
treea53255abc00fe17d0b870d368cb0a7bed5aa2aa2 /src/map/clif.c
parenta0d17427e9b773d175aca334f20fcffd56edf5d9 (diff)
downloadhercules-372b71e5d7099373a20b14459182f9a3a05dbbba.tar.gz
hercules-372b71e5d7099373a20b14459182f9a3a05dbbba.tar.bz2
hercules-372b71e5d7099373a20b14459182f9a3a05dbbba.tar.xz
hercules-372b71e5d7099373a20b14459182f9a3a05dbbba.zip
- Clean up of calc_times function.
- Moved to timer.c/h because it's used in both map and char servers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12382 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index cbcada2b1..3f6cf94f6 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11714,7 +11714,7 @@ void clif_parse_Mail_send(int fd, struct map_session_data *sd)
else
memset(msg.body, 0x00, MAIL_BODY_LENGTH);
- msg.timestamp = (int)mail_calctimes();
+ msg.timestamp = calc_times();
if( !intif_Mail_send(sd->status.account_id, &msg) )
mail_deliveryfail(sd, &msg);