Skip to content

Commit

Permalink
test code before pushing?
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Auto committed Oct 7, 2023
1 parent 241198e commit 1410ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game_api/entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,9 @@ void recursive(Entity* ent, std::optional<uint32_t> mask, std::vector<ENT_TYPE>
to_id("ENT_TYPE_FX_MEGAJELLYFISH_TAIL_BG"),
};

if (type->id == jellys[0] || type->id == jellys[1]) // special only for MEGAJELLYFISH
if (ent->type->id == jellys[0] || ent->type->id == jellys[1]) // special only for MEGAJELLYFISH
{
auto true_type = (MegaJellyfish*)this;
auto true_type = (MegaJellyfish*)ent;
auto currend_uid = true_type->tail_bg_uid;
for (int idx = 0; idx < 8; ++idx)
{
Expand Down

0 comments on commit 1410ab2

Please sign in to comment.