Codechange: remove need for GetDParamX

This commit is contained in:
Rubidium
2023-06-11 21:59:58 +02:00
committed by rubidium42
parent 82b434b589
commit 613ad80581
2 changed files with 6 additions and 16 deletions

View File

@@ -211,17 +211,6 @@ void CopyInDParam(const uint64 *src, int num);
void CopyOutDParam(uint64 *dst, int num);
void CopyOutDParam(uint64 *dst, const char **strings, StringID string, int num);
/**
* Get the current string parameter at index \a n from parameter array \a s.
* @param s Array of string parameters.
* @param n Index of the string parameter.
* @return Value of the requested string parameter.
*/
static inline uint64 GetDParamX(const uint64 *s, uint n)
{
return s[n];
}
/**
* Get the current string parameter at index \a n from the global string parameter array.
* @param n Index of the string parameter.