Skip to content

Commit

Permalink
Use slot enum in ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
robojumper committed Jul 9, 2024
1 parent 018bcdf commit b383864
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/REL/d/t/d_t_dowsing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class dTgDowsing_c : public dTg_c {

SPECIAL_ACTOR_PROFILE(T_DOWSING, dTgDowsing_c, fProfile::T_DOWSING, 0x0293, 0, 0);

dTgDowsing_c::dTgDowsing_c() : mDowsingTarget(this, 8) {}
dTgDowsing_c::dTgDowsing_c() : mDowsingTarget(this, DowsingTarget::SLOT_NONE) {}

int dTgDowsing_c::create() {
mDowsingOption = getDowsingOption();
Expand Down
2 changes: 1 addition & 1 deletion src/REL/d/t/d_t_genki_dws_tgt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class UnkIntermediateClass : public dAcBase_c {};

class dTgGenkiDwsTgt_c : public UnkIntermediateClass {
public:
dTgGenkiDwsTgt_c() : mDowsingTarget(this, 8) {}
dTgGenkiDwsTgt_c() : mDowsingTarget(this, DowsingTarget::SLOT_NONE) {}
virtual ~dTgGenkiDwsTgt_c() {}

virtual int create() override;
Expand Down
2 changes: 1 addition & 1 deletion src/REL/d/t/d_t_holy_water.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class dTgHolyWater_c : public dTg_c {
public:
dTgHolyWater_c() : mDowsingTarget(this, 8) {}
dTgHolyWater_c() : mDowsingTarget(this, DowsingTarget::SLOT_NONE) {}
virtual ~dTgHolyWater_c() {}

virtual int create() override;
Expand Down

0 comments on commit b383864

Please sign in to comment.