fix clear_projectile affecting PlrProj if force == true
This commit is contained in:
parent
f4ef527528
commit
c2fc94f125
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ Projectile* spawn_projectile_clear_effect(Projectile *proj) {
|
|||
}
|
||||
|
||||
bool clear_projectile(Projectile **projlist, Projectile *proj, bool force, bool now) {
|
||||
if(!force && !projectile_is_clearable(proj)) {
|
||||
if(proj->type >= PlrProj || (!force && !projectile_is_clearable(proj))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue