diff options
author | rubidium42 <rubidium@openttd.org> | 2021-07-03 08:03:33 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-07-03 11:26:13 +0200 |
commit | 979783f90e9c5939e645448cf9aac01f86c37fc9 (patch) | |
tree | 89070f06c4ab82fed478d0fae0ddd931f1b74988 /src/strings_func.h | |
parent | 1d9912134df71a0adee5de92b83b9bb361f1f151 (diff) | |
download | openttd-979783f90e9c5939e645448cf9aac01f86c37fc9.tar.xz |
Codechange: replace InjectDParam/ShiftParameters by setting the right parameter values in the first place
Diffstat (limited to 'src/strings_func.h')
-rw-r--r-- | src/strings_func.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/strings_func.h b/src/strings_func.h index 11f41d738..e9b9f8159 100644 --- a/src/strings_func.h +++ b/src/strings_func.h @@ -122,8 +122,6 @@ public: return (int32)this->GetInt64(type); } - void ShiftParameters(uint amount); - /** Get a pointer to the current element in the data array. */ uint64 *GetDataPointer() const { @@ -179,8 +177,6 @@ const char *GetStringPtr(StringID string); uint ConvertKmhishSpeedToDisplaySpeed(uint speed); uint ConvertDisplaySpeedToKmhishSpeed(uint speed); -void InjectDParam(uint amount); - /** * Set a string parameter \a v at index \a n in a given array \a s. * @param s Array of string parameters. |