This commit is contained in:
aozhiwei 2023-01-03 18:33:07 +08:00
parent 23d0e70f93
commit 83a49df2cf
2 changed files with 5 additions and 2 deletions

View File

@ -6,9 +6,9 @@ Position BornPoint::RandPoint() const
{
Position pos;
#if 1
pos.x = 1061.000000000000;
pos.x = 5120.000000000000;
pos.y = 1.542470574379;
pos.z = 1716.000000000000;
pos.z = 5120.000000000000;
#else
pos.x = 1219.634277343750;
pos.z = 1549.267578125000;

View File

@ -215,6 +215,9 @@ static void InternalCreateBullet(BulletInfo& bullet_info)
#endif
}
bullet_uniid = bullet_uniid ? bullet_uniid : c->room->AllocUniid();
#ifdef DEBUG
a8::XPrintf("CreateBullet uniid:%d frameno:%d\n", {bullet_uniid, c->room->GetFrameNo()});
#endif
#ifdef DEBUG
if (c->IsPlayer()) {
a8::XPrintf("bullet_born_pos:%f,%f,%f bullet_dir:%f,%f,%f pos:%f,%f,%f\n",