[Scummvm-cvs-logs] scummvm master -> ecfbaebf87145e2c9237f4ece9d8d7829c2bbbfe
tramboi
bertrand_augereau at yahoo.fr
Mon Sep 5 20:21:27 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ecfbaebf87 DREAMWEB: Removal of a useless register usage
Commit: ecfbaebf87145e2c9237f4ece9d8d7829c2bbbfe
https://github.com/scummvm/scummvm/commit/ecfbaebf87145e2c9237f4ece9d8d7829c2bbbfe
Author: Bertrand Augereau (bertrand_augereau at yahoo.fr)
Date: 2011-09-05T11:16:16-07:00
Commit Message:
DREAMWEB: Removal of a useless register usage
Changed paths:
engines/dreamweb/stubs.cpp
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index e6c8685..394de96 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -1808,7 +1808,7 @@ void DreamGenContext::obtoinv(uint8 index, uint8 flag, uint16 x, uint16 y) {
Frame *extras = (Frame *)segRef(data.word(kExtras)).ptr(0, 0);
Frame *frees = (Frame *)segRef(data.word(kFreeframes)).ptr(0, 0);
- Frame *frames = (ah == 4) ? extras : frees;
+ Frame *frames = (flag == 4) ? extras : frees;
showframe(frames, x + 18, y + 19, 3 * index + 1, 128);
const DynObject *object = (const DynObject *)getanyaddir(index, flag);
bool worn = isitworn(object);
More information about the Scummvm-git-logs
mailing list