mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 16:57:47 +00:00
it works
This commit is contained in:
parent
a1720bd179
commit
ba1f8bb6f3
2 changed files with 2 additions and 3 deletions
|
@ -161,8 +161,8 @@ bool Sapphire::Entity::BNpc::moveTo( const FFXIVARR_POSITION3& pos )
|
|||
for(int i = 0; i < path.size(); i++)
|
||||
Logger::debug("{0}: {1} {2} {3}", i, path[i].x, path[i].y, path[i].z);
|
||||
|
||||
face( path[0] );
|
||||
setPos(path[0]);
|
||||
face( path[1] );
|
||||
setPos(path[1]);
|
||||
}
|
||||
|
||||
sendPositionUpdate();
|
||||
|
|
|
@ -272,7 +272,6 @@ std::vector< Sapphire::Common::FFXIVARR_POSITION3 > Sapphire::NaviProvider::find
|
|||
if( numPolys )
|
||||
{
|
||||
// Iterate over the path to find smooth path on the detail mesh surface.
|
||||
dtPolyRef polys[MAX_POLYS];
|
||||
memcpy( polys, polys, sizeof( dtPolyRef )*numPolys );
|
||||
int npolys = numPolys;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue