Move info system cursor when jumping via wormhole
This commit is contained in:
parent
cf135bb2c0
commit
19a4620e4a
@ -7282,10 +7282,6 @@ NSComparisonResult marketSorterByMassUnit(id a, id b, void *market);
|
||||
if (![self witchJumpChecklist:false]) return;
|
||||
|
||||
OOSystemID jumpTarget = [self nextHopTargetSystemID];
|
||||
if (info_system_id == system_id)
|
||||
{
|
||||
info_system_id = jumpTarget;
|
||||
}
|
||||
|
||||
// perform any check here for forced witchspace encounters
|
||||
unsigned malfunc_chance = 253;
|
||||
@ -7385,6 +7381,10 @@ NSComparisonResult marketSorterByMassUnit(id a, id b, void *market);
|
||||
- (void) witchJumpTo:(OOSystemID)sTo misjump:(BOOL)misjump
|
||||
{
|
||||
[self witchStart];
|
||||
if (info_system_id == system_id)
|
||||
{
|
||||
[self setInfoSystemID: sTo];
|
||||
}
|
||||
//wear and tear on all jumps (inc misjumps, failures, and wormholes)
|
||||
if (2 * market_rnd < ship_trade_in_factor)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user