Skip to content

Commit 42acfa3

Browse files
authored
bot multi-hop taxi fix (#304)
1 parent 6453389 commit 42acfa3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/modules/Bots/playerbot/strategy/actions/RememberTaxiAction.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ bool RememberTaxiAction::Execute(Event event)
3434
uint32 node_count;
3535
try
3636
{
37-
p >> guid >> node_count;
37+
uint32 totalcost;
38+
p >> guid >> totalcost >> node_count;
3839

3940
LastMovement& movement = context->GetValue<LastMovement&>("last movement")->Get();
4041
movement.taxiNodes.clear();

0 commit comments

Comments
 (0)