Fix resize bug, resize RenderbufferObject of ping pong framebuffers
This commit is contained in:
@@ -8,6 +8,7 @@ import Control.Lens
|
||||
import qualified Data.IntMap.Strict as IM
|
||||
|
||||
targetYouLOS :: Creature -> World -> Maybe Creature
|
||||
{-# INLINE targetYouLOS #-}
|
||||
targetYouLOS cr w
|
||||
| hasLOS (_crPos cr) (_crPos $ you w) w = Just $ you w
|
||||
| otherwise = Nothing
|
||||
|
||||
@@ -38,3 +38,5 @@ swarmCrit = defaultCreature
|
||||
, _crFaction = ColorFaction yellow
|
||||
, _crMeleeCooldown = Just 0
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user