Fix urchin destroying spikes again

main
En Yi 2024-11-15 21:31:33 +08:00
parent 5b29ad4ba4
commit 0556318ca0
1 changed files with 1 additions and 1 deletions

View File

@ -760,7 +760,7 @@ void spike_collision_system(Scene_t* scene)
p_ent->m_alive = false;
return;
}
else if (p_ent->m_tag != NO_ENT_TAG)
else if (p_ent->m_tag != URCHIN_ENT_TAG)
{
// Hack to avoid urchin destorying spikes
destroy_tile(data, tile_idx);