mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Deprecate and remove NEWZERO macro
This commit is contained in:
@ -631,8 +631,7 @@ static void ProcessManifest (void * param) {
|
||||
);
|
||||
|
||||
if (i < kMaxManifestFileRequests) {
|
||||
ProgressStream * stream;
|
||||
stream = NEWZERO(ProgressStream);
|
||||
ProgressStream * stream = new ProgressStream;
|
||||
if (!stream->Open(path, "wb")) {
|
||||
#ifdef PLASMA_EXTERNAL_RELEASE
|
||||
MessageBox(nil, s_fileOpenError, "URU Launcher", MB_ICONERROR);
|
||||
|
@ -198,7 +198,7 @@ static void ManifestCallback (
|
||||
SetText("Downloading new patcher...");
|
||||
|
||||
StrToAnsi(ansi, s_newPatcherFile, arrsize(ansi));
|
||||
SelfPatcherStream * stream = NEWZERO(SelfPatcherStream);
|
||||
SelfPatcherStream * stream = new SelfPatcherStream;
|
||||
if (!stream->Open(ansi, "wb"))
|
||||
ErrorAssert(__LINE__, __FILE__, "Failed to create file: %s, errno: %u", ansi, errno);
|
||||
|
||||
|
Reference in New Issue
Block a user