1
This commit is contained in:
parent
aa957e59b1
commit
1cbf872a98
@ -199,17 +199,17 @@ static void InternalCreateBullet(BulletInfo& bullet_info)
|
||||
bullet_info.shot_animi_time += bullet_info.delay_time;
|
||||
bullet_info.delay_time = 0;
|
||||
}
|
||||
if (bullet_info.delay_time <= 0) {
|
||||
#ifdef MYDEBUG
|
||||
if (c->IsPlayer()) {
|
||||
a8::XPrintf("create bullet %d %d frameno:%d\n",
|
||||
{
|
||||
bullet_info.bullet_idx,
|
||||
bullet_info.delay_time,
|
||||
c->room->GetFrameNo()
|
||||
});
|
||||
}
|
||||
if (c->IsPlayer()) {
|
||||
a8::XPrintf("create bullet %d %d frameno:%d\n",
|
||||
{
|
||||
bullet_info.bullet_idx,
|
||||
bullet_info.delay_time,
|
||||
c->room->GetFrameNo()
|
||||
});
|
||||
}
|
||||
#endif
|
||||
if (bullet_info.delay_time <= 0) {
|
||||
if (c->GetCurrWeapon()->meta->bullet_consume_type() == kBulletConsumeMulti) {
|
||||
if (c->GetCurrWeapon()->ammo <= 0) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user