fix: Clang doesn't like this for some reason (#14)
Honestly no clue why it doesn't like it but this fixes it Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/14 Reviewed-by: neo <neo@obsidianos.xyz> Co-authored-by: Trevor Watkins <tawatkins1110@gmail.com> Co-committed-by: Trevor Watkins <tawatkins1110@gmail.com>
This commit is contained in:
@@ -4323,7 +4323,8 @@ void ClientConnection::handleSetPlayerTeamPacket(shared_ptr<SetPlayerTeamPacket>
|
||||
|
||||
void ClientConnection::handleParticleEvent(shared_ptr<LevelParticlesPacket> packet)
|
||||
{
|
||||
ePARTICLE_TYPE particleId = (ePARTICLE_TYPE)Integer::parseInt(packet->getName());
|
||||
wstring particleName = packet->getName();
|
||||
ePARTICLE_TYPE particleId = (ePARTICLE_TYPE)Integer::parseInt(particleName);
|
||||
|
||||
for (int i = 0; i < packet->getCount(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user