[Scummvm-cvs-logs] SF.net SVN: scummvm: [26079] scummvm/trunk/engines/parallaction
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sun Mar 11 02:06:55 CET 2007
Revision: 26079
http://scummvm.svn.sourceforge.net/scummvm/?rev=26079&view=rev
Author: peres001
Date: 2007-03-10 17:06:54 -0800 (Sat, 10 Mar 2007)
Log Message:
-----------
should stop Q's Visual Studio from complaining
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/animation.cpp
scummvm/trunk/engines/parallaction/dialogue.cpp
Modified: scummvm/trunk/engines/parallaction/animation.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/animation.cpp 2007-03-11 00:30:19 UTC (rev 26078)
+++ scummvm/trunk/engines/parallaction/animation.cpp 2007-03-11 01:06:54 UTC (rev 26079)
@@ -440,6 +440,8 @@
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 @@
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);
Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp 2007-03-11 00:30:19 UTC (rev 26078)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp 2007-03-11 01:06:54 UTC (rev 26079)
@@ -260,9 +260,9 @@
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")) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list