Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions Client/game_sa/CAnimManagerSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,10 @@ static const char* const kGateWayAnimationName = "run_wuzi";

CAnimManagerSA::CAnimManagerSA()
{
MemSetFast(m_pAnimAssocGroups, 0, sizeof(m_pAnimAssocGroups));
MemSetFast(m_pAnimBlocks, 0, sizeof(m_pAnimBlocks));
}

CAnimManagerSA::~CAnimManagerSA()
{
for (unsigned int i = 0; i < MAX_ANIM_GROUPS; i++)
if (m_pAnimAssocGroups[i])
delete m_pAnimAssocGroups[i];
for (unsigned int i = 0; i < MAX_ANIM_BLOCKS; i++)
if (m_pAnimBlocks[i])
delete m_pAnimBlocks[i];
}

void CAnimManagerSA::Initialize()
Expand Down
3 changes: 0 additions & 3 deletions Client/game_sa/CAnimManagerSA.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,4 @@ class CAnimManagerSA : public CAnimManager

bool IsValidGroup(std::uint32_t uiAnimGroup) const;
bool IsValidAnim(std::uint32_t uiAnimGroup, std::uint32_t uiAnimID) const;
private:
CAnimBlendAssocGroup* m_pAnimAssocGroups[MAX_ANIM_GROUPS];
CAnimBlock* m_pAnimBlocks[MAX_ANIM_BLOCKS];
};
Loading