fix animations

This commit is contained in:
nek0 2019-03-28 11:26:16 +01:00
parent 8438454477
commit d7151cb11f

View file

@ -734,7 +734,7 @@ updateMap dt = do
emap allEnts $ do emap allEnts $ do
pos'@(V2 pr pc) <- query pos pos'@(V2 pr pc) <- query pos
vel' <- queryMaybe vel vel' <- queryMaybe vel
rot' <- query rot rot' <- fromMaybe N <$> queryMaybe rot
fact' <- fromMaybe 1 <$> queryMaybe velFact fact' <- fromMaybe 1 <$> queryMaybe velFact
xyv2 <- queryMaybe xyvel xyv2 <- queryMaybe xyvel
stat <- query anim stat <- query anim