1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

working good

This commit is contained in:
Perttu Ahola 2010-12-26 13:51:56 +02:00
parent 4ba5cd580d
commit c32da52104
8 changed files with 65 additions and 221 deletions

View file

@ -630,8 +630,8 @@ public:
m_counter2 -= dtime;
if(m_counter2 < 0.0)
{
m_counter2 += (float)(rand()%100)/100*3.0;
m_yaw += ((float)(rand()%200)-100)/100*180;
m_counter2 += (float)(myrand()%100)/100*3.0;
m_yaw += ((float)(myrand()%200)-100)/100*180;
m_yaw = wrapDegrees(m_yaw);
}
}