Hipmunk 0.2 → 0.2.1
raw patch · 3 files changed
+7/−2 lines, 3 files
Files
- Hipmunk.cabal +1/−1
- NEWS +5/−0
- Physics/Hipmunk/Space.hsc +1/−1
Hipmunk.cabal view
@@ -3,7 +3,7 @@ Tested-With: GHC Category: Physics, Game Name: Hipmunk-Version: 0.2+Version: 0.2.1 Stability: provisional License: OtherLicense License-File: LICENSE
NEWS view
@@ -1,3 +1,8 @@+Version 0.2.1+=============+ - Small fix for GHC 6.10. Thanks Pekka Karjalainen and Creighton Hogg+ for the reports, and sorry for the delay.+ Version 0.2 =========== - Fix a subtle bug within Space that would keep some ForeignPtr's
Physics/Hipmunk/Space.hsc view
@@ -528,7 +528,7 @@ retriveShape :: Space -> ShapePtr -> IO Shape retriveShape (P _ entities _) ptr = do ent <- readIORef entities- Right shape <- M.lookup (castPtr ptr) ent+ let Just (Right shape) = M.lookup (castPtr ptr) ent return shape