mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Revert "[REVERT ME] Display debug information for code reviewers."
This reverts commit bae5c5b675
.
This commit is contained in:
parent
c61503f503
commit
dc9074ae6b
@ -582,18 +582,6 @@ fn update_target_awareness(bdata: &mut BehaviorData) -> bool {
|
|||||||
..
|
..
|
||||||
} = bdata;
|
} = bdata;
|
||||||
|
|
||||||
let dbg_msg = format!(
|
|
||||||
"{} - {:#?}\n{:?}",
|
|
||||||
agent.awareness,
|
|
||||||
agent.awareness.state(),
|
|
||||||
agent.target.and_then(|t| t
|
|
||||||
.last_known_pos
|
|
||||||
.map(|lkp| format!("{:.0} {:.0} {:.0}", lkp.x, lkp.y, lkp.z)))
|
|
||||||
);
|
|
||||||
|
|
||||||
// TODO: THIS IS FOR CODE REVIEWERS. REMOVE BEFORE MERGE.
|
|
||||||
agent_data.chat_npc(dbg_msg, bdata.event_emitter);
|
|
||||||
|
|
||||||
let target = agent.target.map(|t| t.target);
|
let target = agent.target.map(|t| t.target);
|
||||||
let tgt_pos = target.and_then(|t| read_data.positions.get(t));
|
let tgt_pos = target.and_then(|t| read_data.positions.get(t));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user