Opened 23 years ago

Closed 23 years ago

Last modified 6 years ago

#9 closed defect (fixed)

Fate of atlantis crashes

Reported by: SF/jackburton Owned by: SF/strigeus
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Indiana Jones 4

Description

In a section of Fate of Atlantis, the game will crash with a "Error(10002): o_actorSet: default case! "

Ticket imported from: #472785. Ticket imported from: bugs/9.

Change History (7)

comment:1 by SF/strigeus, 23 years ago

Owner: set to SF/strigeus

comment:2 by SF/jackburton, 23 years ago

Ok, I found a fix for that: Just add a "case 0: break;" into o5_ActorCase (script_v1.cpp, line 381). The game works fine this way. But crashes in a later section with a segfault (I don't think it's related).

comment:3 by SF/jackburton, 23 years ago

In fact, I was able to complete the game (using "Logic" path). Still crashes in "team" path. Probably could be finished also in "action" path.

comment:4 by SF/jackburton, 23 years ago

I see in the latest CVS that you haven't yet implemented o5_ActorCase case 0. You should do that, so Indy4 could be played a bit more... Is there anything that's wrong with it?

comment:5 by SF/strigeus, 23 years ago

I've fixed the bug. In Scumm::loadPtrToResource (len <= 1) was done instead of (len <= 0)

comment:6 by SF/strigeus, 23 years ago

Resolution: fixed
Status: newclosed

comment:7 by digitall, 6 years ago

Component: Engine: SCUMM
Game: Indiana Jones 4
Note: See TracTickets for help on using tickets.