1
0
şunun yansıması https://codeberg.org/tenplus1/mobs_redo.git eşitlendi 2025-10-19 19:35:17 +02:00

Fixed global yaw bug (thanks Sofar)

Bu işleme şunda yer alıyor:
TenPlus1
2016-04-18 20:54:02 +01:00
ebeveyn a80b8dc3b0
işleme 30e1157392

Dosyayı Görüntüle

@@ -1206,7 +1206,7 @@ local do_states = function(self, dtime)
-- otherwise randomly turn -- otherwise randomly turn
elseif math.random(1, 100) <= 30 then elseif math.random(1, 100) <= 30 then
yaw = (math.random(0, 360) - 180) / 180 * pi local yaw = (math.random(0, 360) - 180) / 180 * pi
self.object:setyaw(yaw) self.object:setyaw(yaw)
end end