aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Mettifogo2007-03-11 01:06:54 +0000
committerNicola Mettifogo2007-03-11 01:06:54 +0000
commit23b7c2aec544411ba8d8041c83eba6d74a9e3155 (patch)
tree70076e227abd30434143fb6d1148325014eed275
parent7c05225f0d8f2a904b7842a12ae7eac169ad6000 (diff)
downloadscummvm-rg350-23b7c2aec544411ba8d8041c83eba6d74a9e3155.tar.gz
scummvm-rg350-23b7c2aec544411ba8d8041c83eba6d74a9e3155.tar.bz2
scummvm-rg350-23b7c2aec544411ba8d8041c83eba6d74a9e3155.zip
should stop Q's Visual Studio from complaining
svn-id: r26079
-rw-r--r--engines/parallaction/animation.cpp4
-rw-r--r--engines/parallaction/dialogue.cpp4
2 files changed, 5 insertions, 3 deletions
diff --git a/engines/parallaction/animation.cpp b/engines/parallaction/animation.cpp
index d55ea28073..45aa0e71c1 100644
--- a/engines/parallaction/animation.cpp
+++ b/engines/parallaction/animation.cpp
@@ -440,6 +440,8 @@ LValue getLValue(Instruction *inst, char *str, LocalVariable *locals, Animation
LValue v;
+ v._pvalue = 0; // should stop compiler from complaining
+
if (isdigit(str[0]) || str[0] == '-') {
inst->_flags |= kInstUsesLiteral;
v._value = atoi(str);
@@ -570,7 +572,7 @@ void jobRunScripts(void *parm, Job *j) {
v18._width = inst->_opBase._a->_cnv._width;
v18._height = inst->_opBase._a->_cnv._height;
v18._data0 = inst->_opBase._a->_cnv._array[inst->_opBase._a->_frame];
-// v18._data1 = inst->_opBase._a->_cnv.field_8[inst->_opBase._a->_frame];
+ v18._data1 = NULL; // inst->_opBase._a->_cnv.field_8[inst->_opBase._a->_frame];
if (inst->_flags & kInstMaskedPut) {
uint16 _si = _vm->_graphics->queryMask(inst->_opB._value);
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp
index eb879119b0..09c876496b 100644
--- a/engines/parallaction/dialogue.cpp
+++ b/engines/parallaction/dialogue.cpp
@@ -260,9 +260,9 @@ void runDialogue(SpeakData *data) {
while (v60) {
v5C._data0 = v6E._array[v60->_mood & 0xF];
-// v5C._data1 = v6E.field_8[v60->_mood & 0xF];
+ v5C._data1 = NULL; // v6E.field_8[v60->_mood & 0xF];
v48._data0 = _yourTalk._array[0];
-// v48._data1 = _yourTalk.field_8[0];
+ v48._data1 = NULL; // _yourTalk.field_8[0];
// display Question if any
if (scumm_stricmp(v60->_text, "NULL")) {