1
0
forked from 0ad/0ad

Desync-ed unit motion.

This was SVN commit r274.
This commit is contained in:
MarkT 2004-05-26 23:47:46 +00:00
parent 880e6287a8
commit 51375831f1
3 changed files with 5 additions and 2 deletions

View File

@ -43,7 +43,7 @@
#define WINAPIV __cdecl
#ifndef NO_PNG
#include <libpng10/png.h>
#include <libpng10/png.h>
#pragma comment(lib, "libpng10.lib")
#endif

View File

@ -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);

View File

@ -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: