DIG: Experimental camera fix
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
We have camera-related problems in The Dig, causing for instance, bug #716350 ("DIG: Can't exit room!"). Another example of camera problems can happen at the very beginning of the game: go to the room overlooking the asteroid, where the actors are scaled down, then open and close the inventory window. The camera pans back to the shuttle.
You can then move Boston and the others back to the shuttle while they are still scaled down, which could make for a somewhat amusing blooper picture.
This patch fixes both of these problems - and hopefully others, as well - by trying to ensure that camera._dest and camera._follows never gets out of sync with the SCUMM variables used to store these values.
But I don't know if this fix breaks anything else, so at the very least it should not be applied to the branch right now. Maybe later.
Ticket imported from: #733099. Ticket imported from: patches/324.