Opened 4 weeks ago
Closed 4 weeks ago
#15421 closed defect (fixed)
CRAB: Unrest crashes on startup
Reported by: | eriktorbjorn | Owned by: | sev- |
---|---|---|---|
Priority: | normal | Component: | Engine: CRAB |
Version: | Keywords: | ||
Cc: | Game: | Unrest |
Description
GOG version of the game, current Git version of ScummVM.
When starting the game, there is a load screen and then the game crashes. What seems to happen is that Image::load(Graphics::ManagedSurface *surface)
gets called before _texture
has been created, because _texture
is only created in Image::load(const Common::Path &path)
.
Moving the creation to the Image
constructor seems to fix the problem. At least the game starts now. But I don't know if it's the correct fix or not.
Note:
See TracTickets
for help on using tickets.
It appears to be a regression from https://github.com/scummvm/scummvm/commit/96a3dbaef8de71e9dbd613d86214cfbeffc44a50