[Scummvm-cvs-logs] scummvm master -> c95783172b1a9bdb4e2e7d3230418f9d89244416

dreammaster dreammaster at scummvm.org
Sun Jun 7 00:08:51 CEST 2015


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:
c95783172b SHERLOCK: Remove unused variables


Commit: c95783172b1a9bdb4e2e7d3230418f9d89244416
    https://github.com/scummvm/scummvm/commit/c95783172b1a9bdb4e2e7d3230418f9d89244416
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-06T18:07:40-04:00

Commit Message:
SHERLOCK: Remove unused variables

Changed paths:
    engines/sherlock/map.cpp
    engines/sherlock/tattoo/tattoo_scene.cpp



diff --git a/engines/sherlock/map.cpp b/engines/sherlock/map.cpp
index 9c6818a..96f93d4 100644
--- a/engines/sherlock/map.cpp
+++ b/engines/sherlock/map.cpp
@@ -128,7 +128,6 @@ int Map::show() {
 	Events &events = *_vm->_events;
 	People &people = *_vm->_people;
 	Screen &screen = *_vm->_screen;
-	Common::Point lDrawn(-1, -1);
 	bool changed = false, exitFlag = false;
 	_active = true;
 
diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp
index f902c06..51e0eb1 100644
--- a/engines/sherlock/tattoo/tattoo_scene.cpp
+++ b/engines/sherlock/tattoo/tattoo_scene.cpp
@@ -229,10 +229,6 @@ void TattooScene::paletteLoaded() {
 }
 
 void TattooScene::checkBgShapes() {
-	People &people = *_vm->_people;
-	Person &holmes = people._player;
-	Common::Point pt(holmes._position.x / FIXED_INT_MULTIPLIER, holmes._position.y / FIXED_INT_MULTIPLIER);
-
 	// Call the base scene method to handle bg shapes
 	Scene::checkBgShapes();
 






More information about the Scummvm-git-logs mailing list