Opened 12 years ago
Closed 12 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 |
Version: | 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 , 12 years ago
Component: | → Engine: Tony |
---|---|
Game: | → Tony Tough |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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().