[Scummvm-cvs-logs] scummvm master -> 3a017ac8a8b90a019d360d8a7c89aec98368c6eb

Strangerke Strangerke at scummvm.org
Mon Mar 3 19:04:50 CET 2014


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:
3a017ac8a8 VOYEUR: Remove parameters matching the default parameter in freeBoltGroup() calls


Commit: 3a017ac8a8b90a019d360d8a7c89aec98368c6eb
    https://github.com/scummvm/scummvm/commit/3a017ac8a8b90a019d360d8a7c89aec98368c6eb
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-03T10:03:11-08:00

Commit Message:
VOYEUR: Remove parameters matching the default parameter in freeBoltGroup() calls

Changed paths:
    engines/voyeur/files_threads.cpp
    engines/voyeur/voyeur_game.cpp



diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 4ab3352..1ce8c37 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -1270,7 +1270,7 @@ void ThreadResource::doRoom() {
 	vm.makeViewFinderP();
 
 	if (voy._boltGroupId2 != -1) {
-		vm._bVoy->freeBoltGroup(voy._boltGroupId2, 1);
+		vm._bVoy->freeBoltGroup(voy._boltGroupId2);
 		voy._boltGroupId2 = -1;
 	}
 
@@ -1639,7 +1639,7 @@ void ThreadResource::freeTheApt() {
 }
 
 void ThreadResource::doAptAnim(int mode) {
-	_vm->_bVoy->freeBoltGroup(0x100, true);
+	_vm->_bVoy->freeBoltGroup(0x100);
 
 	// Figure out the resource to use
 	int id = 0;
diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp
index 23fc722..752ec53 100644
--- a/engines/voyeur/voyeur_game.cpp
+++ b/engines/voyeur/voyeur_game.cpp
@@ -1057,7 +1057,7 @@ void VoyeurEngine::initIFace() {
 		break;
 	}
 	if (playStamp1 != -1)
-		_bVoy->freeBoltGroup(playStamp1, true);
+		_bVoy->freeBoltGroup(playStamp1);
 
 	_bVoy->getBoltGroup(_playStampGroupId);
 	CMapResource *pal = _bVoy->boltEntry(_playStampGroupId + 2)._cMapResource;






More information about the Scummvm-git-logs mailing list