mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Rename mouthful variable.
This commit is contained in:
parent
2c745bed30
commit
1331b046b5
@ -524,7 +524,7 @@ fn update_last_known_pos(bdata: &mut BehaviorData) -> bool {
|
||||
|
||||
if let Some(target_pos) = read_data.positions.get(target) {
|
||||
if agent_data.detects_other(agent, controller, &target, target_pos, read_data) {
|
||||
let new_last_known_pos = Some(target_pos.0);
|
||||
let updated_pos = Some(target_pos.0);
|
||||
|
||||
let Target {
|
||||
hostile,
|
||||
@ -538,7 +538,7 @@ fn update_last_known_pos(bdata: &mut BehaviorData) -> bool {
|
||||
hostile,
|
||||
selected_at,
|
||||
aggro_on,
|
||||
new_last_known_pos,
|
||||
updated_pos,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user