移除无用代码
This commit is contained in:
parent
36ec24eb8a
commit
1b7b57cbda
@ -47,9 +47,6 @@ void Bullet::OnHit(std::set<Entity*>& objects)
|
||||
switch (target->entity_type) {
|
||||
case ET_Player:
|
||||
{
|
||||
if (App::Instance()->HasFlag(8)) {
|
||||
return;
|
||||
}
|
||||
Human* hum = (Human*)target;
|
||||
if (hum->HasBuffEffect(kBET_Invincible) ||
|
||||
hum->HasBuffEffect(kBET_AdPlaying)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user