Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
emd4600 authored Sep 14, 2019
1 parent 28ed1fd commit ae945b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ virtual_detour(MyDetour3, cCreature, ICombatant, void(float, float)) {
void detoured(float strength, float distance) {
// I want to be immortal!
if (mHealthPoints < 10) mHealthPoints += 1000.0f;
original_function(strength, distance);
original_function(this, strength, distance);
}
};
```
Expand Down Expand Up @@ -213,4 +213,4 @@ float MyDetour1::DETOUR(const char* pString) {
return original_function(pString) + original_function("object");
}
}
```
```

0 comments on commit ae945b1

Please sign in to comment.