mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-16 12:42:30 +00:00
fix(whoa): update thunderbrew to use the refactored squall error/validation and bc allocation macros
This commit is contained in:
parent
1aeacd0d2e
commit
46843880ef
66 changed files with 459 additions and 457 deletions
|
|
@ -4,8 +4,7 @@
|
|||
#include "net/grunt/Command.hpp"
|
||||
#include "net/srp/SRP6_Random.hpp"
|
||||
#include <cstring>
|
||||
#include <new>
|
||||
#include <storm/Memory.hpp>
|
||||
#include <bc/Memory.hpp>
|
||||
#include <storm/String.hpp>
|
||||
|
||||
Grunt::Command<Grunt::ClientLink> Grunt::s_clientCommands[] = {
|
||||
|
|
@ -381,8 +380,7 @@ void Grunt::ClientLink::Connect(const char* a2) {
|
|||
|
||||
this->SetState(1);
|
||||
|
||||
auto connectionMem = SMemAlloc(sizeof(WowConnection), __FILE__, __LINE__, 0x0);
|
||||
auto connection = new (connectionMem) WowConnection(this, nullptr);
|
||||
auto connection = NEW(WowConnection, this, nullptr);
|
||||
|
||||
this->m_connection = connection;
|
||||
this->m_connection->SetType(WOWC_TYPE_STREAM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue