mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
Fixed type inference for nulls in console functions
This commit is contained in:
parent
0ab089468f
commit
3f6c269f6a
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