mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-05-08 06:46:10 +00:00
Update actionMap.cpp
convert objectstring to upper case to look better in the ui
This commit is contained in:
parent
3188920312
commit
8baca526b1
1 changed files with 2 additions and 2 deletions
|
|
@ -545,9 +545,9 @@ bool ActionMap::createEventDescriptor(const char* pEventString, EventDescriptor*
|
|||
|
||||
// rebuild full event string
|
||||
if (newString.length())
|
||||
newString = String::ToString("%s %s", newString.c_str(), pObjectString).c_str();
|
||||
newString = String::ToString("%s %s", newString.c_str(), dStrupr(pObjectString)).c_str();
|
||||
else
|
||||
newString = String::ToString("%s", pObjectString).c_str();
|
||||
newString = String::ToString("%s", dStrupr(pObjectString)).c_str();
|
||||
|
||||
dStrcpy(const_cast<char*>(pEventString), newString.c_str(), newString.length()+1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue