mirror of
https://github.com/zeldaret/tp
synced 2026-06-28 19:20:51 -04:00
fix functions not returning values (#2942)
* fix functions not returning values * implement functions that should return values
This commit is contained in:
@@ -983,7 +983,7 @@ void daNpc_Post_c::drawOtherMdl() {
|
||||
}
|
||||
}
|
||||
|
||||
BOOL daNpc_Post_c::setFlagAnm(int i_idx, int i_attr, f32 i_morf) {
|
||||
bool daNpc_Post_c::setFlagAnm(int i_idx, int i_attr, f32 i_morf) {
|
||||
static daNpc_GetParam1 flagAnmData[13] = {
|
||||
{BCK_POST_FLAG_WAIT_A, POST},
|
||||
{BCK_POST_FLAG_RUN, POST1},
|
||||
@@ -1011,12 +1011,12 @@ BOOL daNpc_Post_c::setFlagAnm(int i_idx, int i_attr, f32 i_morf) {
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool daNpc_Post_c::afterSetMotionAnm(int i_idx, int i_attr, f32 i_morf, int param_4) {
|
||||
f32 morf = mCreating == true ? 0.0f : i_morf;
|
||||
setFlagAnm(i_idx, i_attr, morf);
|
||||
return setFlagAnm(i_idx, i_attr, morf);
|
||||
}
|
||||
|
||||
BOOL daNpc_Post_c::selectAction() {
|
||||
|
||||
Reference in New Issue
Block a user