mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-01 07:12:26 +00:00
Allow /setstartcity to work if home is set to tutorialb
This commit is contained in:
parent
a325380884
commit
e2d52ec3e5
@ -11832,7 +11832,7 @@ void Client::Handle_OP_SetServerFilter(const EQApplicationPacket *app)
|
|||||||
void Client::Handle_OP_SetStartCity(const EQApplicationPacket *app)
|
void Client::Handle_OP_SetStartCity(const EQApplicationPacket *app)
|
||||||
{
|
{
|
||||||
// if the character has a start city, don't let them use the command
|
// if the character has a start city, don't let them use the command
|
||||||
if (m_pp.binds[4].zoneId != 0) {
|
if (m_pp.binds[4].zoneId != 0 && m_pp.binds[4].zoneId != 189) {
|
||||||
Message(15, "Your home city has already been set.", m_pp.binds[4].zoneId, database.GetZoneName(m_pp.binds[4].zoneId));
|
Message(15, "Your home city has already been set.", m_pp.binds[4].zoneId, database.GetZoneName(m_pp.binds[4].zoneId));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user