When you brace yourself and attack to some direction without any enemies (or doors) in that direction you get warning: player_move_attack: get_map_ob returns NULL, but player an not more there.