Skip to content

Commit

Permalink
Correction for single taxi flight.
Browse files Browse the repository at this point in the history
Close #682
  • Loading branch information
Zyres committed Apr 26, 2019
1 parent 37d2d13 commit 5697e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/world/Server/Packets/Handlers/TaxiHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void WorldSession::handleActivateTaxiOpcode(WorldPacket& recvPacket)
return;
}

if (_player->hasEnoughCoinage(taxiPath->GetPrice()))
if (!_player->hasEnoughCoinage(taxiPath->GetPrice()))
{
SendPacket(SmsgActivatetaxireply(TaxiNodeError::NotEnoughMoney).serialise().get());
return;
Expand Down

0 comments on commit 5697e35

Please sign in to comment.