mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 04:15:36 +00:00
az changes
This commit is contained in:
parent
1ddc7219a5
commit
c6e0eade04
4 changed files with 19 additions and 29 deletions
|
|
@ -349,8 +349,7 @@ public:
|
|||
if (value.isConsoleType())
|
||||
{
|
||||
const char* dptr = Con::getData(TypeS32, &val, 0);
|
||||
ConsoleValueConsoleType* cvt = value.getConsoleType();
|
||||
Con::setData(cvt->consoleType, cvt->dataPtr, 0, 1, &dptr, cvt->enumTable);
|
||||
Con::setData(value.type, value.dataPtr, 0, 1, &dptr, value.enumTable);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -373,8 +372,7 @@ public:
|
|||
if (value.isConsoleType())
|
||||
{
|
||||
const char* dptr = Con::getData(TypeF32, &val, 0);
|
||||
ConsoleValueConsoleType* cvt = value.getConsoleType();
|
||||
Con::setData(cvt->consoleType, cvt->dataPtr, 0, 1, &dptr, cvt->enumTable);
|
||||
Con::setData(value.type, value.dataPtr, 0, 1, &dptr, value.enumTable);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -397,8 +395,7 @@ public:
|
|||
|
||||
if (value.isConsoleType())
|
||||
{
|
||||
ConsoleValueConsoleType* cvt = value.getConsoleType();
|
||||
Con::setData(cvt->consoleType, cvt->dataPtr, 0, 1, &val, cvt->enumTable);
|
||||
Con::setData(value.type, value.dataPtr, 0, 1, &val, value.enumTable);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue