Skip to content

Commit

Permalink
Fixed: Boat/ship parts resetting TYPE after use 'turn' commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
coruja747 committed Jun 13, 2016
1 parent bacaa53 commit a622737
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/REVISIONS-56-SERIES.TXT
Expand Up @@ -76,4 +76,7 @@ Fixed: Incognito spell considering char notoriety neutral/not-neutral on differe
Added: Missing features on Incognito spell
-It will change char name to a random human male/female name instead always use Man/Woman.
-It will change char body/hair/beard to a random color temporarily.
-It won't hide guild abbreviation anymore (the player can choose hide/show it using guild menu).
-It won't hide guild abbreviation anymore (the player can choose hide/show it using guild menu).

13-06-2016, Coruja
Fixed: Boat/ship parts resetting TYPE after use 'turn' commands.
2 changes: 2 additions & 0 deletions src/graysvr/CItemShip.cpp
Expand Up @@ -413,7 +413,9 @@ bool CItemShip::Ship_Face( DIR_TYPE dir )
if ((xdiff == component.m_dx) && (ydiff == component.m_dy) && ((pItem->GetTopZ()-GetTopZ()) == component.m_dz))
{
const CItemBaseMulti::CMultiComponentItem & componentnew = pMultiNew->m_Components.ElementAt(j);
IT_TYPE oldType = pItem->GetType();
pItem->SetID(componentnew.m_id);
pItem->SetType(oldType);
pt.m_x = GetTopPoint().m_x + componentnew.m_dx;
pt.m_y = GetTopPoint().m_y + componentnew.m_dy;
}
Expand Down

0 comments on commit a622737

Please sign in to comment.