This reverts a5c484cbf3. The test included in a5c484cb is wrong and contains a typo that leads to incorrect assumptions. The Dungeon Keeper 2 crash that was the reason for patch a5c484cb is fixed properly by the previous patch.
a5c484cbf3
a5c484cb