mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Deprecate and remove NEWZERO macro
This commit is contained in:
@ -796,7 +796,7 @@ bool pfGameUIInputInterface::InterpretInputEvent( plInputEventMsg *pMsg )
|
||||
if ((keymap->GetKey1().IsSatisfiedBy(combo)) || (keymap->GetKey2().IsSatisfiedBy(combo)))
|
||||
{
|
||||
// tell the KI to take the shot
|
||||
plConsoleMsg * consoleMsg = NEWZERO(plConsoleMsg);
|
||||
plConsoleMsg * consoleMsg = new plConsoleMsg;
|
||||
consoleMsg->SetCmd(plConsoleMsg::kExecuteLine);
|
||||
consoleMsg->SetString("Game.KITakePicture");
|
||||
consoleMsg->Send(nil, true);
|
||||
|
Reference in New Issue
Block a user