Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve: targetList / friendList #1739

Merged
merged 32 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
bb26d9a
init
mehah Oct 24, 2023
c5d3d40
init
mehah Oct 24, 2023
7f7c7ee
std::unordered_map
mehah Oct 24, 2023
a85f589
fix smell
mehah Oct 24, 2023
c7e3e02
Update monster.cpp
mehah Oct 24, 2023
5f0dccf
Merge branch 'main' into rework-targetlist
mehah Oct 24, 2023
506ab9f
fix smell
mehah Oct 24, 2023
bef3bb0
Update monster.cpp
mehah Oct 24, 2023
862980b
cleanup
mehah Oct 24, 2023
84578dc
Merge branch 'main' into rework-targetlist
mehah Oct 25, 2023
7a8c4bf
Lua code format - (Stylua)
github-actions[bot] Oct 25, 2023
36968b2
Merge branch 'main' into rework-targetlist
mehah Oct 25, 2023
79b62c7
Merge branch 'main' into rework-targetlist
mehah Oct 26, 2023
2973741
Merge branch 'main' into rework-targetlist
mehah Nov 2, 2023
509053b
fix compile
mehah Nov 2, 2023
bcdc6fa
Merge branch 'main' into rework-targetlist
mehah Nov 2, 2023
da5260e
getTargetIterator
mehah Nov 2, 2023
239092b
Merge branch 'main' into rework-targetlist
mehah Nov 4, 2023
ac1c20a
Code format - (Clang-format)
github-actions[bot] Nov 4, 2023
4a82b4b
Merge branch 'main' into rework-targetlist
mehah Nov 5, 2023
4518806
Merge branch 'main' into rework-targetlist
mehah Nov 13, 2023
aada0c1
improve
mehah Nov 13, 2023
abd0cd7
Merge branch 'main' into rework-targetlist
mehah Nov 13, 2023
0f9465f
improve
mehah Nov 13, 2023
6917fd7
Merge branch 'main' into rework-targetlist
mehah Nov 13, 2023
76b25e5
Update monster.cpp
mehah Nov 13, 2023
c26b73d
improve
mehah Nov 14, 2023
a20903c
fix smell
mehah Nov 14, 2023
20ac862
rework Monster::onThink condition to try fix smells
mehah Nov 15, 2023
a46ecc2
Code format - (Clang-format)
github-actions[bot] Nov 15, 2023
2c2c542
Merge branch 'main' into rework-targetlist
mehah Nov 15, 2023
9d9449d
Merge branch 'main' into rework-targetlist
mehah Nov 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/creatures/creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1022,9 +1022,7 @@ void Creature::goToFollowCreature() {
}
}

if (followCreature->getPlayer() && followCreature->getPlayer()->isDisconnected()) {
hasFollowPath = false;
} else if (listDir.empty()) {
if (listDir.empty()) {
hasFollowPath = getPathTo(followCreature->getPosition(), listDir, fpp);
}

Expand Down
Loading
Loading