Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-thomas774 committed Oct 26, 2024
1 parent 7cf0b89 commit b8da8f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def nw4rLib(lib_name, objects, extra_cflags=[]):
Object(NonMatching, "d/col/bg/d_bg_w_kcol.cpp"),
Object(Matching, "d/col/bg/d_bg_w_sv.cpp"),
Object(NonMatching, "d/col/bg/d_bg_w_time.cpp"),
Object(NonMatching, "d/col/cc/d_cc_d.cpp"),
Object(Matching, "d/col/cc/d_cc_d.cpp"),
],
},
{
Expand Down
5 changes: 2 additions & 3 deletions src/REL/d/a/d_a_bombf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#include "d/a/d_a_player.h"
#include "d/col/bg/d_bg_s.h"
#include "d/col/bg/d_bg_s_lin_chk.h"
#include "d/flag/sceneflag_manager.h"
#include "m/m_mtx.h"
#include "m/m_vec.h"
#include "toBeSorted/sceneflag_manager.h"
#include "toBeSorted/time_area_mgr.h"

SPECIAL_ACTOR_PROFILE(BOMBF, dAcBombf_c, fProfile::BOMBF, 0x129, 0, 4099);
Expand Down Expand Up @@ -80,8 +80,7 @@ int dAcBombf_c::actorPostCreate() {
if ((b && field_0x3D2 == 2) || (!b && field_0x3D2 == 0)) {
mModel.setScale(0.0001f, 0.0001f, 0.0001f);
if (mBombRef.get() != nullptr) {
// TODO wrong field
mBombRef.get()->mScale.x = 0.0001f;
mBombRef.get()->mField_0xA50 = 0.0001f;
}
}
}
Expand Down

0 comments on commit b8da8f1

Please sign in to comment.