mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update console.h
case insensitive
This commit is contained in:
parent
d6a79e4f5b
commit
d8411b4a58
|
|
@ -246,10 +246,10 @@ public:
|
|||
return s == StringTable->EmptyString() ? 0 : dAtoi(s);
|
||||
if (type == ConsoleValueType::cvString)
|
||||
{
|
||||
if (dStrcmp(s, "false") == 0) {
|
||||
if (dStricmp(s, "false") == 0) {
|
||||
return 0;
|
||||
}
|
||||
else if (dStrcmp(s, "true") == 0) {
|
||||
else if (dStricmp(s, "true") == 0) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue