diff --git a/src/TravelNode.cpp b/src/TravelNode.cpp index a29bebf1..8e880067 100644 --- a/src/TravelNode.cpp +++ b/src/TravelNode.cpp @@ -178,6 +178,9 @@ uint32 TravelNodePath::getPrice() TaxiPathEntry const* taxiPath = sTaxiPathStore.LookupEntry(pathObject); + if (!taxiPath) + return 0; + return taxiPath->price; }