1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-03 17:27:47 +00:00
This commit is contained in:
goaaats 2019-01-22 00:41:18 +01:00
parent a1720bd179
commit ba1f8bb6f3
2 changed files with 2 additions and 3 deletions

View file

@ -161,8 +161,8 @@ bool Sapphire::Entity::BNpc::moveTo( const FFXIVARR_POSITION3& pos )
for(int i = 0; i < path.size(); i++) for(int i = 0; i < path.size(); i++)
Logger::debug("{0}: {1} {2} {3}", i, path[i].x, path[i].y, path[i].z); Logger::debug("{0}: {1} {2} {3}", i, path[i].x, path[i].y, path[i].z);
face( path[0] ); face( path[1] );
setPos(path[0]); setPos(path[1]);
} }
sendPositionUpdate(); sendPositionUpdate();

View file

@ -272,7 +272,6 @@ std::vector< Sapphire::Common::FFXIVARR_POSITION3 > Sapphire::NaviProvider::find
if( numPolys ) if( numPolys )
{ {
// Iterate over the path to find smooth path on the detail mesh surface. // Iterate over the path to find smooth path on the detail mesh surface.
dtPolyRef polys[MAX_POLYS];
memcpy( polys, polys, sizeof( dtPolyRef )*numPolys ); memcpy( polys, polys, sizeof( dtPolyRef )*numPolys );
int npolys = numPolys; int npolys = numPolys;