mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Made rats cookable and made them spawn near trees
This commit is contained in:
parent
8ceb0586b2
commit
4556c212db
4 changed files with 50 additions and 6 deletions
|
@ -232,7 +232,7 @@ RatSAO::RatSAO(ServerEnvironment *env, u16 id, v3f pos):
|
|||
|
||||
m_oldpos = v3f(0,0,0);
|
||||
m_last_sent_position = v3f(0,0,0);
|
||||
m_yaw = 0;
|
||||
m_yaw = myrand_range(0,PI*2);
|
||||
m_counter1 = 0;
|
||||
m_counter2 = 0;
|
||||
m_age = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue