Skip to content

Commit

Permalink
Merge pull request #566 from Deledrius/typo_fixes
Browse files Browse the repository at this point in the history
Fix Interesting typos.
  • Loading branch information
Hoikas authored Dec 30, 2019
2 parents 58f7987 + dd410fa commit c210426
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/Plasma/FeatureLib/pfCamera/plInterestingModifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ class plInterestingModifier : public plSingleModifier
float GetInterestWeight() { return fInterestWeight; }
float GetInterestRadius() { return fInterestRadius; }

void SetInterestWeight(float _InterestRadius) { fInterestWeight =_InterestRadius; }
void SetInterestRadius(float _InterestWeight) { fInterestRadius =_InterestWeight; }
void SetInterestWeight(float _InterestWeight) { fInterestWeight = _InterestWeight; }
void SetInterestRadius(float _InterestRadius) { fInterestRadius = _InterestRadius; }

virtual void AddTarget(plSceneObject* so);

Expand Down
4 changes: 2 additions & 2 deletions Sources/Tools/MaxComponent/plMiscComponents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@ ParamBlockDesc2 gInterestBk
kInteresting, _T("interesting"), TYPE_STRING, 0, 0,
end,

kCamInterestRadius, _T("CamIntersestRadius"), TYPE_FLOAT, P_ANIMATABLE, 0,
kCamInterestRadius, _T("CamInterestRadius"), TYPE_FLOAT, P_ANIMATABLE, 0,
p_default, 100.0f,
p_ui, TYPE_SPINNER, EDITTYPE_POS_FLOAT,
IDC_COMP_INTEREST_EDIT1, IDC_COMP_INTEREST_SPIN1, 1.0f,
end,

kCamInterestWeight, _T("CamIntersestWeight"), TYPE_FLOAT, P_ANIMATABLE, 0,
kCamInterestWeight, _T("CamInterestWeight"), TYPE_FLOAT, P_ANIMATABLE, 0,
p_range, 0.0, 1.0,
p_default, 1.0,
p_ui, TYPE_SPINNER, EDITTYPE_POS_FLOAT,
Expand Down

0 comments on commit c210426

Please sign in to comment.