Add fleet save slots and rotatable onboard venues
This commit is contained in:
@@ -598,8 +598,8 @@ namespace Soundings
|
||||
int deckCount = ship.Decks.Count;
|
||||
ulong layout = 0;
|
||||
foreach (Deck deck in ship.Decks)
|
||||
foreach (Facility cell in deck.Cells)
|
||||
layout = unchecked(layout * 31 + (uint)cell + 1);
|
||||
for (int cell = 0; cell < deck.Cells.Length; cell++)
|
||||
layout = unchecked(layout * 109 + (uint)deck.Cells[cell] * 4 + (uint)deck.RotationAt(cell) + 1);
|
||||
|
||||
if (ReferenceEquals(displayedShip, ship) && hullIndex == lastHull && deckCount == lastDecks && layout == lastLayout)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user