Bug bites when a ship supplies the sector it's in. First the sector
is charged zero mob for moving the stuff, and is written back. Next,
the sector receives the stuff, and is written back, clobbering the
first write (no effect), and triggering a seqno oops.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
if (actually_doit) {
vec[type] += can_move;
putship(ship.shp_uid, &ship);
- putsect(§);
+ if (n)
+ putsect(§);
put_empobj(sink->ef_type, sink->uid, sink);
}
return 1;
if (actually_doit) {
vec[type] += can_move;
putship(ship.shp_uid, &ship);
- putsect(§);
+ if (n)
+ putsect(§);
}
}
}