summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-05 23:18:08 -0300
committershennetsind <ind@henn.et>2013-07-05 23:18:08 -0300
commit8a127e11bfaf108cc66865dd4b1a379da2416f46 (patch)
tree06e270e7052914cbf6f39ba1cd71a684c7feadce
parent144a9d0843dfe47e0b58c8857762f58ae70543c8 (diff)
downloadhercules-8a127e11bfaf108cc66865dd4b1a379da2416f46.tar.gz
hercules-8a127e11bfaf108cc66865dd4b1a379da2416f46.tar.bz2
hercules-8a127e11bfaf108cc66865dd4b1a379da2416f46.tar.xz
hercules-8a127e11bfaf108cc66865dd4b1a379da2416f46.zip
Fixed Bug #7483
Special Thanks to Igniz http://hercules.ws/board/tracker/issue-7483-battleground-warning/ Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/battleground.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c
index fe1c078d8..9127c89b9 100644
--- a/src/map/battleground.c
+++ b/src/map/battleground.c
@@ -478,7 +478,7 @@ void bg_match_over(struct bg_arena *arena, bool canceled) {
if( canceled )
clif->colormes(sd->fd,COLOR_RED,"BG Match Cancelled: not enough players");
else {
- pc_setglobalreg(sd, arena->delay_var, time(NULL));
+ pc_setglobalreg(sd, arena->delay_var, (unsigned int)time(NULL));
}
}
}