Fix for Gobliiins 1 EGA crash on game-over
|Reported by:||wjp||Owned by:|
(Text copy-pasted from comment in patch, so please excuse the strange writing style for a patch submission.)
The original gobliiins engine did not initialize the objDesc variable, so we manually check if objDesc is properly set before checking if it is zero. If it was not set, we do not return. This fixes a crash in the EGA version if the life bar is depleted, because gob_interFunc is called multiple times with cmd == 39.
Ticket imported from: #1325224. Ticket imported from: patches/576.