1
This commit is contained in:
parent
4be0ca0883
commit
c59716b96d
@ -373,6 +373,15 @@ void Bullet::ProcFragBomb(int delay_time)
|
||||
void Bullet::ProcPosionGasBomb(int delay_time)
|
||||
{
|
||||
if (sender.Get()) {
|
||||
#if 1
|
||||
MetaData::Buff * buff_meta = MetaMgr::Instance()->GetBuff(gun_meta->i->buffid());
|
||||
if (buff_meta) {
|
||||
sender.Get()->AddBuff(sender.Get(),
|
||||
buff_meta,
|
||||
1
|
||||
);
|
||||
}
|
||||
#else
|
||||
PosionGasMiTask* task = new PosionGasMiTask();
|
||||
task->room = room;
|
||||
task->sender.Attach(sender.Get());
|
||||
@ -398,6 +407,7 @@ void Bullet::ProcPosionGasBomb(int delay_time)
|
||||
},
|
||||
&room->timer_attacher.timer_list_
|
||||
);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user