mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Everything done, now to test
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user