diff options
author | rexim <reximkut@gmail.com> | 2024-03-17 02:36:42 +0700 |
---|---|---|
committer | rexim <reximkut@gmail.com> | 2024-03-17 02:36:42 +0700 |
commit | 5e9f4139c31b1d5a7199117f9e7125a08fbb1b9d (patch) | |
tree | 5781a4ca0268a56de7592901c636ac24bcbe283c /game.adb | |
parent | ee5d0dae7738e0cb480465ae0ecd6e15fd8ed118 (diff) |
Improve the design of the second boss room
Diffstat (limited to 'game.adb')
-rw-r--r-- | game.adb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -865,7 +865,7 @@ procedure Game is begin while Boss_Can_Stand_Here(Game, Position, Me) loop Step(Dir, Position); - if Game.Bosses(Me).Path(Position.Y, Position.X) = Current - 1 then + if Within_Map(Game, Position) and then Game.Bosses(Me).Path(Position.Y, Position.X) = Current - 1 then Game.Bosses(Me).Position := Position; exit Search; end if; |