mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
Fixed type inference for nulls in console functions
This commit is contained in:
parent
733fd3ef6d
commit
88106f9032
17 changed files with 29 additions and 22 deletions
|
|
@ -254,7 +254,7 @@ DefineEngineFunction(addBadWord, bool, (const char* badWord),,
|
|||
return gBadWordFilter->addBadWord(badWord);
|
||||
}
|
||||
|
||||
DefineEngineFunction(filterString, const char *, (const char* baseString, const char* replacementChars), (NULL, NULL),
|
||||
DefineEngineFunction(filterString, const char *, (const char* baseString, const char* replacementChars), (nullAsType<const char*>(), nullAsType<const char*>()),
|
||||
"@brief Replaces the characters in a string with designated text\n\n"
|
||||
|
||||
"Uses the bad word filter to determine which characters within the string will be replaced.\n\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue