Fix aiming with scope
This commit is contained in:
@@ -112,7 +112,6 @@ ammoPosition itm hit = case hit of
|
||||
SHATTERGUN -> NoAmmoPosition
|
||||
HELDDETECTOR _ -> NoAmmoPosition
|
||||
KEYCARD _ -> NoAmmoPosition
|
||||
BINOCULARS -> NoAmmoPosition
|
||||
where
|
||||
lhs = Q.axisAngle (V3 1 0 0) pi
|
||||
rhs = Q.axisAngle (V3 1 0 0) 0
|
||||
@@ -186,7 +185,6 @@ heldItemSPic ht it = case ht of
|
||||
SHATTERGUN -> shatterGunSPic
|
||||
HELDDETECTOR dt -> noPic (colorSH (detectorColor dt) $ upperPrismPolySU 3 $ rectWH 2 2)
|
||||
KEYCARD _ -> noShape (setDepth 0 $ translate (-5) (-5) $ rotate (pi / 2.5) keyPic)
|
||||
BINOCULARS -> mempty -- TODO
|
||||
|
||||
torchShape :: Shape
|
||||
torchShape =
|
||||
|
||||
Reference in New Issue
Block a user