mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix buffer corruption.
This commit is contained in:
parent
6d93e96dc3
commit
27a4868b6e
4 changed files with 14 additions and 7 deletions
|
|
@ -120,12 +120,14 @@ void PopupMenu::handleSelectEvent(U32 popID, U32 command)
|
|||
//-----------------------------------------------------------------------------
|
||||
bool PopupMenu::onMessageReceived(StringTableEntry queue, const char* event, const char* data)
|
||||
{
|
||||
return Con::executef(this, "onMessageReceived", queue, event, data);
|
||||
ConsoleValue returnValue = Con::executef(this, "onMessageReceived", queue, event, data);
|
||||
return returnValue.getBool();
|
||||
}
|
||||
|
||||
bool PopupMenu::onMessageObjectReceived(StringTableEntry queue, Message *msg )
|
||||
{
|
||||
return Con::executef(this, "onMessageReceived", queue, Con::getIntArg(msg->getId()));
|
||||
ConsoleValue returnValue = Con::executef(this, "onMessageReceived", queue, Con::getIntArg(msg->getId()));
|
||||
return returnValue.getBool();
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue