mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-13 18:17:49 -04:00
Deprecate and remove NEWZERO macro
This commit is contained in:
@ -1223,7 +1223,7 @@ void pfConsole::AddLineF(const char * fmt, ...) {
|
||||
//============================================================================
|
||||
void pfConsole::RunCommandAsync (const char cmd[]) {
|
||||
|
||||
plConsoleMsg * consoleMsg = NEWZERO(plConsoleMsg);
|
||||
plConsoleMsg * consoleMsg = new plConsoleMsg;
|
||||
consoleMsg->SetCmd(plConsoleMsg::kExecuteLine);
|
||||
consoleMsg->SetString(cmd);
|
||||
// consoleMsg->SetBreakBeforeDispatch(true);
|
||||
|
@ -6036,7 +6036,7 @@ PF_CONSOLE_GROUP( Age )
|
||||
|
||||
PF_CONSOLE_CMD(Age, ShowSDL, "", "Prints the age SDL values")
|
||||
{
|
||||
plStateDataRecord * rec = NEWZERO(plStateDataRecord);
|
||||
plStateDataRecord * rec = new plStateDataRecord;
|
||||
if (!VaultAgeGetAgeSDL(rec)) {
|
||||
PrintString("Age SDL not found");
|
||||
delete rec;
|
||||
|
Reference in New Issue
Block a user