Skip to content

Commit

Permalink
Fix accidentally not undamping properly. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder authored Nov 8, 2022
1 parent 5f15111 commit 578c807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Undamper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ namespace REFix {
}

void Undamper::undamp(REF::API::ManagedObject* damping_struct) const {
*(float*)this->damping_time->get_data_raw(damping_struct, true) = 0.0f;
*(float*)this->damping_time->get_data_raw(damping_struct) = 0.0f;
}
}

0 comments on commit 578c807

Please sign in to comment.