dxx-rebirth/d2x-rebirth/main
Kp cf51ac4ee0 Fix BUG on show-path cheat
Players are not robots, but the show-path cheat tried to pretend they
are, and triggered a BUG warning[1] when looking up robot information
from the player object.  Fix this by passing in the robot_info when the
caller is providing a robot, and a named `nullptr` value (as
`create_path_unused_robot_info`) when the caller is providing a
non-robot object.

[1] As below, but repeated many times
```
similar/main/ai.cpp:1905: BUG: object 0x555555858550 has type 4, expected 2
similar/main/ai.cpp:1974: BUG: object 0x555555858550 has type 4, expected 2
```
2022-05-21 19:51:18 +00:00
..
escort.cpp Fix BUG on show-path cheat 2022-05-21 19:51:18 +00:00
gamepal.cpp Fix gcc-9 -Wstringop-truncation in gamepal.cpp 2019-05-11 20:18:29 +00:00
inferno.ini Reduce indirection resolving chosen menu item 2020-12-19 16:13:26 +00:00
libmve.h Remove indirection for movie memory management 2021-01-17 22:23:23 +00:00
movie.cpp Use enum class for MBTN_* constants 2022-02-27 14:23:53 +00:00
movie.h Move small briefing members earlier in the structure 2021-09-19 10:53:48 +00:00