This commit is contained in:
aozhiwei 2023-06-27 14:04:08 +08:00
parent f9cd174550
commit e42fc2762a
3 changed files with 2 additions and 3 deletions

View File

@ -104,9 +104,6 @@ void Bullet::Update(int delta_time)
void Bullet::OnHit(std::set<Entity*>& objects) void Bullet::OnHit(std::set<Entity*>& objects)
{ {
if (gun_meta->id() == 60201) {
int i = 0;
}
std::shared_ptr<Ability> old_context_ability = sender.Get()->context_ability; std::shared_ptr<Ability> old_context_ability = sender.Get()->context_ability;
glm::vec3 old_context_dir = sender.Get()->context_dir; glm::vec3 old_context_dir = sender.Get()->context_dir;
Position old_context_pos = sender.Get()->context_pos; Position old_context_pos = sender.Get()->context_pos;

View File

@ -48,6 +48,7 @@ namespace mt
s_.rank_mode_wait_time = GetIntParam("rank_mode_wait_time", 10); s_.rank_mode_wait_time = GetIntParam("rank_mode_wait_time", 10);
s_.rank_mode_min_player = GetIntParam("rank_mode_min_player", 3); s_.rank_mode_min_player = GetIntParam("rank_mode_min_player", 3);
s_.downed_switch = GetIntParam("downed_switch", 0); s_.downed_switch = GetIntParam("downed_switch", 0);
s_.bullet_through_wall_check = GetIntParam("bullet_through_wall_check", 1);
#if 1 #if 1
{ {
std::string point = GetStringParam("newbie_room_born_point", "3471.3662:6.8399:5268.6240"); std::string point = GetStringParam("newbie_room_born_point", "3471.3662:6.8399:5268.6240");

View File

@ -119,6 +119,7 @@ namespace mt
int rank_mode_min_player = 0; int rank_mode_min_player = 0;
int downed_switch = 0; int downed_switch = 0;
int bullet_through_wall_check = 1;
}; };
static void StaticPostInit(); static void StaticPostInit();
static const S& s() { return s_; }; static const S& s() { return s_; };