Opened 23 years ago

Closed 22 years ago

Last modified 5 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, 22 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, 22 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, 22 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, 22 years ago

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

comment:6 by SF/strigeus, 22 years ago

Resolution: fixed
Status: newclosed

comment:7 by digitall, 5 years ago

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