Skip to content

Commit

Permalink
Fix ParticleSystemTypeClass destructor hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Starkku committed Jan 21, 2024
1 parent 6ebcfbb commit e106629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ext/ParticleSystemType/Body.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ DEFINE_HOOK(0x644215, ParticleSystemTypeClass_CTOR, 0x7)
return 0;
}

DEFINE_HOOK(0x644256, ParticleSystemTypeClass_DTOR, 0x6)
DEFINE_HOOK(0x644986, ParticleSystemTypeClass_SDDTOR, 0x6)
{
GET(ParticleSystemTypeClass*, pItem, ECX);
GET(ParticleSystemTypeClass*, pItem, ESI);

ParticleSystemTypeExt::ExtMap.Remove(pItem);

Expand Down

0 comments on commit e106629

Please sign in to comment.