Everything done, now to test

This commit is contained in:
Aronwk
2025-05-16 22:11:16 -05:00
parent c8a3a2c6de
commit b98470331d
4 changed files with 33 additions and 24 deletions

View File

@@ -29,4 +29,5 @@ target_include_directories(dNet PRIVATE
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via PossessableComponent.h
"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # via Item.h
"${PROJECT_SOURCE_DIR}/dScripts" # transitive through components
"${PROJECT_SOURCE_DIR}/dChatFilter" # for chat message handling
)

View File

@@ -8,6 +8,7 @@
#include "User.h"
#include "Character.h"
#include "dChatFilter.h"
#include "ChatPackets.h"
namespace WorldPackets {
@@ -154,7 +155,7 @@ namespace WorldPackets {
void PositionUpdate::Handle() {
Entity* entity = Game::entityManager->GetEntity(objectID);
if (entity) entity->ProcessPositionUpdate(positionUpdate);
if (entity) entity->ProcessPositionUpdate(*this);
}