1
This commit is contained in:
parent
5393bff81e
commit
d005c201c9
@ -919,7 +919,6 @@ void Bullet::ProcNormalBullet(BulletCheckResult& result)
|
|||||||
sender.Get()->TryAddBuff(sender.Get(), gun_meta->_int_param2);
|
sender.Get()->TryAddBuff(sender.Get(), gun_meta->_int_param2);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
#if 0
|
|
||||||
sender.Get()->IncDisableMoveTimes();
|
sender.Get()->IncDisableMoveTimes();
|
||||||
sender.Get()->IncDisableAttackDirTimes();
|
sender.Get()->IncDisableAttackDirTimes();
|
||||||
auto sender_p = sender;
|
auto sender_p = sender;
|
||||||
@ -948,7 +947,6 @@ void Bullet::ProcNormalBullet(BulletCheckResult& result)
|
|||||||
&sender.Get()->xtimer_attacher
|
&sender.Get()->xtimer_attacher
|
||||||
);
|
);
|
||||||
sender.Get()->TryAddBuff(sender.Get(), gun_meta->_int_param2);
|
sender.Get()->TryAddBuff(sender.Get(), gun_meta->_int_param2);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -601,7 +601,7 @@ int Room::CreateBullet(Creature* sender,
|
|||||||
bullet->keep_shot_animi_timer_ptr = keep_shot_animi_timer_ptr;
|
bullet->keep_shot_animi_timer_ptr = keep_shot_animi_timer_ptr;
|
||||||
bullet->shot_animi_time = shot_animi_time;
|
bullet->shot_animi_time = shot_animi_time;
|
||||||
bullet->Initialize();
|
bullet->Initialize();
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG1
|
||||||
a8::XPrintf("xxxxxxx born_pos:%f,%f,%f curr_pos:%f,%f,%f\n",
|
a8::XPrintf("xxxxxxx born_pos:%f,%f,%f curr_pos:%f,%f,%f\n",
|
||||||
{
|
{
|
||||||
bullet->born_pos.x,
|
bullet->born_pos.x,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user