Opened 8 years ago

Closed 8 years ago

#6184 closed defect (fixed)

TONY: Game errors out when exiting via the menu

Reported by: bluegr Owned by: dreammaster
Priority: normal Component: Engine: Tony
Keywords: Cc:
Game: Tony Tough

Description

Tony Tough exits with an error when choosing to exit via its main menu. It errors out in abortGame() on purpose - "script called abortGame"

Ticket imported from: #3586252. Ticket imported from: bugs/6184.

Change History (3)

comment:1 by bluegr, 8 years ago

Component: Engine: Tony
Game: Tony Tough

comment:2 by digitall, 8 years ago

Fixed in 459752f20b28882f4960f8b67b1683d629cbab9d by switching to calling engine quitGame() method.

Have checked with valgrind and this works fine with no issues reported.

One point is that if there are any loops which could get "hung up" preventing engine shutdown, they should be amended to include "&& !shouldQuit()" calls as normal, but this is still better than calling error().

comment:3 by digitall, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.