Desync-ed unit motion.
This was SVN commit r274.
This commit is contained in:
parent
880e6287a8
commit
51375831f1
@ -43,7 +43,7 @@
|
||||
#define WINAPIV __cdecl
|
||||
|
||||
#ifndef NO_PNG
|
||||
#include <libpng10/png.h>
|
||||
#include <libpng10/png.h>
|
||||
#pragma comment(lib, "libpng10.lib")
|
||||
#endif
|
||||
|
||||
|
@ -481,7 +481,7 @@ int main(int argc, char* argv[])
|
||||
#endif
|
||||
|
||||
|
||||
font = font_load("fonts/verdana18.fnt");
|
||||
font = font_load("fonts/verdana.fnt");
|
||||
|
||||
// set renderer options from command line options - NOVBO must be set before opening the renderer
|
||||
g_Renderer.SetOption(CRenderer::OPT_NOVBO,g_NoGLVBO);
|
||||
|
@ -239,7 +239,10 @@ void CEntity::update( float timestep )
|
||||
m_orderQueue.pop_front();
|
||||
m_orderQueue.push_front( pathfind_solution );
|
||||
if( m_actor->m_Model->GetAnimation() != m_actor->m_Object->m_WalkAnim )
|
||||
{
|
||||
m_actor->m_Model->SetAnimation( m_actor->m_Object->m_WalkAnim );
|
||||
m_actor->m_Model->Update( ( rand() * 1000.0f ) / 1000.0f );
|
||||
}
|
||||
break;
|
||||
}
|
||||
case CEntityOrder::ORDER_PATROL:
|
||||
|
Loading…
Reference in New Issue
Block a user