1
This commit is contained in:
parent
8973605ad2
commit
a513db5c0a
@ -25,15 +25,23 @@ void Guide::Init(Human* owner)
|
|||||||
}
|
}
|
||||||
curr_step_idx_ = 0;
|
curr_step_idx_ = 0;
|
||||||
UpdateStep();
|
UpdateStep();
|
||||||
|
#if 0
|
||||||
owner_->room->xtimer.SetTimeoutEx
|
owner_->room->xtimer.SetTimeoutEx
|
||||||
(
|
(
|
||||||
|
#ifdef DEBUG
|
||||||
|
SERVER_FRAME_RATE * 1,
|
||||||
|
#else
|
||||||
SERVER_FRAME_RATE * 60 * 10,
|
SERVER_FRAME_RATE * 60 * 10,
|
||||||
|
#endif
|
||||||
[this] (int event, const a8::Args* args)
|
[this] (int event, const a8::Args* args)
|
||||||
{
|
{
|
||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
|
finished_ = true;
|
||||||
|
owner_->SendNewBieEnd();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
&owner_->xtimer_attacher);
|
&owner_->xtimer_attacher);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Guide::UpdateStep()
|
void Guide::UpdateStep()
|
||||||
|
@ -866,7 +866,7 @@ void RoomMgr::SetMatchMode(int mode)
|
|||||||
|
|
||||||
void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
||||||
{
|
{
|
||||||
#if 1
|
#if 0
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#ifdef NEWBIE_ROOM
|
#ifdef NEWBIE_ROOM
|
||||||
msg->set_force_enter_newbie_room(true);
|
msg->set_force_enter_newbie_room(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user