Opened 17 years ago

Closed 17 years ago

#3039 closed defect (fixed)

GOB2: Date is wrong (WinXP)

Reported by: SF/clementxvii Owned by: DrMcCoy
Priority: normal Component: Engine: Gob
Version: Keywords:
Cc: Game: Gobliins 2


In Gob2 (DOS/CD 1.02), there is a menu that is able to display the current date. However, it seems that the month calculation is wrong: I started the game on Feb. 2nd, and the date shows 01/01/2007 (see attached screenshot).

ScummVM version: ScummVM 0.10.0svn (Feb 1 2007 21:50:15) Features compiled in: Vorbis FLAC MP3 zLib MPEG2 I haven't tried it with previous builds: I reinstalled ScummVM only today, and last time I checked (a few months back) my Gob2 version was not detected.

Reproducing the bug: Start ScummVM Launch Gob2 (DOS/CD 1.02) [didn't try it with other versions] From the "screw" menu, launch the "date" command Compare with current date

Game version: This is the CD version of Gob2 that was sold as part of the Sierra Originals package along with Gob1. When clicking on version information, it shows version 2.01 (ScummVM detects it as 1.02).

Ticket imported from: #1650124. Ticket imported from: bugs/3039.

Attachments (1)

Gob2DateBug.jpg (92.2 KB ) - added by SF/clementxvii 17 years ago.
Gob2 with date function next to Windows clock

Download all attachments as: .zip

Change History (3)

by SF/clementxvii, 17 years ago

Attachment: Gob2DateBug.jpg added

Gob2 with date function next to Windows clock

comment:1 by DrMcCoy, 17 years ago

Owner: set to DrMcCoy
Resolution: fixed
Status: newclosed

comment:2 by DrMcCoy, 17 years ago

Ah, yes, the month in the struct returned by localtime() is in the range 0-11, which is off by one for normal display. Thanks, the SVN version / next daily build corrects that now.

Note: See TracTickets for help on using tickets.