cf51ac4ee0
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 ``` |
||
---|---|---|
.. | ||
escort.cpp | ||
gamepal.cpp | ||
inferno.ini | ||
libmve.h | ||
movie.cpp | ||
movie.h |