This commit is contained in:
aozhiwei 2024-03-31 10:31:47 +08:00
parent 42d89c0768
commit 8a67dda32c
2 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,7 @@ void InGameVoice::OnHumanBeKill(int killer_id, Human* deader)
} }
}, },
&room_->xtimer_attacher_); &room_->xtimer_attacher_);
#if 0
room_->xtimer.SetTimeoutWpEx room_->xtimer.SetTimeoutWpEx
( (
SERVER_FRAME_RATE * mt::InGameVoice::s_series_kill_interval, SERVER_FRAME_RATE * mt::InGameVoice::s_series_kill_interval,
@ -99,6 +99,7 @@ void InGameVoice::OnHumanBeKill(int killer_id, Human* deader)
} }
}, },
&room_->xtimer_attacher_); &room_->xtimer_attacher_);
#endif
} }
} }

View File

@ -2,6 +2,7 @@
class Room; class Room;
class Human; class Human;
class InGameVoice : public std::enable_shared_from_this<InGameVoice> class InGameVoice : public std::enable_shared_from_this<InGameVoice>
{ {
public: public: