mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-30 12:35:12 +00:00
15 lines
455 B
C++
15 lines
455 B
C++
#include "Project/Action/ActionFunction.h"
|
|
|
|
#include "Project/Action/ActionAnimCtrl.h"
|
|
#include "Project/Action/ActionAnimInfo.h"
|
|
|
|
namespace alActionFunction {
|
|
const char* getAnimName(const al::ActionAnimCtrlInfo* infoCtrl,
|
|
const al::ActionAnimDataInfo* infoData) {
|
|
const char* animName = infoData->actionName;
|
|
if (!animName)
|
|
animName = infoCtrl->actionName;
|
|
return animName;
|
|
}
|
|
} // namespace alActionFunction
|