Fix calls to GetSafePoints to not pass null_ptr as zonename (#1336)

* Fix calls to GetSafePoints to not pass null_ptr as zonename

* Fix GetSafePoints to check and deal will nullptr being sent as short_zone_name

* Remove unintentinal formatting change

* Fix some typos/cut-n-paste errors I assume

Co-authored-by: Noudess <noudess@gmail.com>
This commit is contained in:
Paul Coene
2021-04-27 17:21:37 -04:00
committed by GitHub
parent dd06033a58
commit 6fb687871c
3 changed files with 11 additions and 7 deletions
+3 -3
View File
@@ -230,9 +230,9 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
break;
case GateToBindPoint:
target_x = m_pp.binds[0].x;
target_x = m_pp.binds[0].y;
target_x = m_pp.binds[0].z;
target_x = m_pp.binds[0].heading;
target_y = m_pp.binds[0].y;
target_z = m_pp.binds[0].z;
target_heading = m_pp.binds[0].heading;
break;
case ZoneToBindPoint:
target_x = m_pp.binds[0].x;