Codechange: remove need for SetDParamX

This commit is contained in:
Rubidium
2023-06-11 21:16:16 +02:00
committed by rubidium42
parent 6c6f365d2f
commit f86500df92
5 changed files with 4 additions and 15 deletions

View File

@@ -190,17 +190,6 @@ static inline int64 PackVelocity(uint speed, VehicleType type)
return speed | (static_cast<uint64>(type) << 56);
}
/**
* Set a string parameter \a v at index \a n in a given array \a s.
* @param s Array of string parameters.
* @param n Index of the string parameter.
* @param v Value of the string parameter.
*/
static inline void SetDParamX(uint64 *s, uint n, uint64 v)
{
s[n] = v;
}
/**
* Set a string parameter \a v at index \a n in the global string parameter array.
* @param n Index of the string parameter.