diff options
| author | Eugene Sandulenko | 2019-06-18 18:53:49 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2019-09-03 17:16:48 +0200 | 
| commit | cecaac514ead3aa1a0eb9473fd526819012d7823 (patch) | |
| tree | e3b3b49983689dd60b8365ca2723ac97a9fa6658 | |
| parent | 4bc2caaa9be7913cd66ad0a3da9f612f95a55984 (diff) | |
| download | scummvm-rg350-cecaac514ead3aa1a0eb9473fd526819012d7823.tar.gz scummvm-rg350-cecaac514ead3aa1a0eb9473fd526819012d7823.tar.bz2 scummvm-rg350-cecaac514ead3aa1a0eb9473fd526819012d7823.zip | |
HDB: Initialise CineCommand
| -rw-r--r-- | engines/hdb/ai.cpp | 2 | ||||
| -rw-r--r-- | engines/hdb/ai.h | 3 | 
2 files changed, 4 insertions, 1 deletions
| diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp index e4d045872c..182401dc1a 100644 --- a/engines/hdb/ai.cpp +++ b/engines/hdb/ai.cpp @@ -85,7 +85,7 @@ void AI::processCines() {  	for (uint i = 0; i < _cine.size();i++) {  		debug(3, "processCines: [%d] %s now: %d  start: %d delay: %d", i, cineTypeStr[_cine[i]->cmdType], -				_cine[i]->start, _cine[i]->delay); +				g_system->getMillis(), _cine[i]->start, _cine[i]->delay);  		switch (_cine[i]->cmdType) {  		case C_SETCAMERA: diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index bf02b46e72..d016c8fa88 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -77,6 +77,9 @@ struct CineCommand {  	char *string;  	char *id;  	// AIEntity *entity + +	CineCommand() : cmdType(C_NO_COMMAND), x(0.0), y(0.0), x2(0.0), y2(0.0), xv(0.0), yv(0.0), +				start(0), end(0), delay(0), speed(0), title(NULL), string(NULL), id(NULL) {}  };  class AI { | 
