diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-04-17 13:22:58 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-04-27 14:09:22 -0700 |
commit | d18f5bdb682a1d9c6e3a191926bfd46d36e813c1 (patch) | |
tree | c987d53ea924b761e5445572a438e0c4bc825d48 /src/map/party.cpp | |
parent | da6b990ca1f553a017003f32a436304c66c62b9e (diff) | |
download | tmwa-d18f5bdb682a1d9c6e3a191926bfd46d36e813c1.tar.gz tmwa-d18f5bdb682a1d9c6e3a191926bfd46d36e813c1.tar.bz2 tmwa-d18f5bdb682a1d9c6e3a191926bfd46d36e813c1.tar.xz tmwa-d18f5bdb682a1d9c6e3a191926bfd46d36e813c1.zip |
Force timers to be managed
Diffstat (limited to 'src/map/party.cpp')
-rw-r--r-- | src/map/party.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/party.cpp b/src/map/party.cpp index 277d0c8..5f04b58 100644 --- a/src/map/party.cpp +++ b/src/map/party.cpp @@ -31,9 +31,10 @@ void party_send_xyhp_timer(TimerData *tid, tick_t tick); // 初期化 void do_init_party(void) { - add_timer_interval(gettick() + PARTY_SEND_XYHP_INVERVAL, + Timer(gettick() + PARTY_SEND_XYHP_INVERVAL, party_send_xyhp_timer, - PARTY_SEND_XYHP_INVERVAL); + PARTY_SEND_XYHP_INVERVAL + ).detach(); } // 検索 |