Instead of packing a coordinate into unsigned long, store the goal in a coord struct, making the code a bit cleaner. Monster struct is of course slightly bigger, but that should not really matter. No change in monster behaviour. Breaks saves and bones.
12 KiB
12 KiB