on openheading / closeheading forgot to set includeheading true

This commit is contained in:
Image 2020-03-09 23:55:40 -04:00
parent 186cc897dc
commit 7802f527d3

View file

@ -1191,6 +1191,7 @@ bool Client::HandlePacket(EQApplicationPacket *app) {
{
Widget* widget = (Widget*)spawn;
widget->SetOpenHeading(newHeading);
widget->SetIncludeHeading(true);
spawn->position_changed = true;
_snprintf(query, 256, "open_heading=%f,include_heading=1", newHeading);
@ -1207,6 +1208,7 @@ bool Client::HandlePacket(EQApplicationPacket *app) {
{
Widget* widget = (Widget*)spawn;
widget->SetClosedHeading(newHeading);
widget->SetIncludeHeading(true);
spawn->position_changed = true;
_snprintf(query, 256, "close_heading=%f,include_heading=1", newHeading);