fixed undeclared yaw variable

This commit is contained in:
TenPlus1 2016-04-21 18:08:36 +01:00
parent 30e1157392
commit 4d3438aeed
1 changed files with 2 additions and 0 deletions

View File

@ -1115,6 +1115,8 @@ end
-- execute current state (stand, walk, run, attacks)
local do_states = function(self, dtime)
local yaw = 0
if self.state == "stand" then
if math.random(1, 4) == 1 then