mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10202] Rename isInFlight() to IsTaxiFlying() and UNIT_STAT_IN_FLIGHT to UNIT_STAT_TAXI_FLIGHT.
Also add IsFreeFlying() function to Player class.
This commit is contained in:
parent
e47e9a2218
commit
01d326b90d
25 changed files with 68 additions and 67 deletions
|
|
@ -64,7 +64,7 @@ bool ChatHandler::HandleStartCommand(const char* /*args*/)
|
|||
{
|
||||
Player *chr = m_session->GetPlayer();
|
||||
|
||||
if(chr->isInFlight())
|
||||
if(chr->IsTaxiFlying())
|
||||
{
|
||||
SendSysMessage(LANG_YOU_IN_FLIGHT);
|
||||
SetSentErrorMessage(true);
|
||||
|
|
@ -117,7 +117,7 @@ bool ChatHandler::HandleDismountCommand(const char* /*args*/)
|
|||
return false;
|
||||
}
|
||||
|
||||
if(m_session->GetPlayer( )->isInFlight())
|
||||
if(m_session->GetPlayer( )->IsTaxiFlying())
|
||||
{
|
||||
SendSysMessage(LANG_YOU_IN_FLIGHT);
|
||||
SetSentErrorMessage(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue