diff options
author | Vladimir | 2011-06-09 10:25:36 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:33:38 +0200 |
commit | bea919c9b45d8d6d31adcb0b8edc3ab48d5b8c35 (patch) | |
tree | ca86afbc9346f0c57a86acfa1fbf8be038ebebbc | |
parent | a5bd71858b1933c771f123457ba873e1898a873f (diff) | |
download | scummvm-rg350-bea919c9b45d8d6d31adcb0b8edc3ab48d5b8c35.tar.gz scummvm-rg350-bea919c9b45d8d6d31adcb0b8edc3ab48d5b8c35.tar.bz2 scummvm-rg350-bea919c9b45d8d6d31adcb0b8edc3ab48d5b8c35.zip |
DREAMWEB: fixed hardcoded offsets
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index ebdc4a99f7..28dea96f9f 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -303,9 +303,9 @@ void gettime(Context &context) { context.ch = t.tm_hour; context.cl = t.tm_min; context.dh = t.tm_sec; - context.ds.byte(5) = context.dh; - context.ds.byte(6) = context.cl; - context.ds.byte(7) = context.ch; + context.data.byte(kSecondcount) = context.dh; + context.data.byte(kMinutecount) = context.cl; + context.data.byte(kHourcount) = context.ch; } void allocatemem(Context &context) { |