summaryrefslogtreecommitdiff
path: root/src/mapblockobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapblockobject.h')
-rw-r--r--src/mapblockobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapblockobject.h b/src/mapblockobject.h
index 08f535514..aee41f3ba 100644
--- a/src/mapblockobject.h
+++ b/src/mapblockobject.h
@@ -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);
}
}