Add in "linear" lWorld to separate time reversable worlds

This commit is contained in:
2022-10-28 12:24:51 +01:00
parent 5f6bd43599
commit 7e790b7153
130 changed files with 827 additions and 980 deletions
+1 -2
View File
@@ -6,7 +6,6 @@ import Dodge.Creature
import Dodge.Data.CreatureEffect
import Dodge.Data.World
import Geometry
import qualified IntMapHelp as IM
import LensHelp
import RandomHelp
@@ -221,7 +220,7 @@ chooseMovementPistol' cr w =
where
g = _randGen w
cpos = _crPos cr
ycr = _creatures (_cWorld w) IM.! 0
ycr = w ^?! cWorld . lWorld . creatures . ix 0
ypos = _crPos ycr
chargeProb
| dist cpos ypos > 300 = 5