Skip to content

Commit

Permalink
fix formatting and drop MAX_POLYS back down
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAdam committed Jan 28, 2019
1 parent 0b9e1fb commit ac709c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/world/Actor/BNpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ void Sapphire::Entity::BNpc::step()
// This is probably not a good way to do it but works fine for now
float angle = Util::calcAngFrom( getPos().x, getPos().z, stepPos.x, stepPos.z ) + PI;

auto delta = static_cast< float >( Util::getTimeMs() - m_lastTickTime ) / 1000.f;
auto delta = static_cast< float >( Util::getTimeMs() - m_lastTickTime ) / 1000.f;

float speed = 7.5f * delta;

Expand Down
2 changes: 1 addition & 1 deletion src/world/Navi/NaviProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Sapphire::World::Navi
{
const int32_t MAX_POLYS = 256;
const int32_t MAX_POLYS = 32;
const int32_t MAX_SMOOTH = 2048;

const int32_t NAVMESHSET_MAGIC = 'M' << 24 | 'S' << 16 | 'E' << 8 | 'T'; //'MSET'
Expand Down

0 comments on commit ac709c5

Please sign in to comment.