[Scummvm-cvs-logs] SF.net SVN: scummvm:[54087] scummvm/trunk/engines/hugo/route.cpp

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Fri Nov 5 09:36:38 CET 2010


Revision: 54087
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54087&view=rev
Author:   strangerke
Date:     2010-11-05 08:36:37 +0000 (Fri, 05 Nov 2010)

Log Message:
-----------
HUGO: Suppress useless case in processRoute()

Modified Paths:
--------------
    scummvm/trunk/engines/hugo/route.cpp

Modified: scummvm/trunk/engines/hugo/route.cpp
===================================================================
--- scummvm/trunk/engines/hugo/route.cpp	2010-11-05 08:14:12 UTC (rev 54086)
+++ scummvm/trunk/engines/hugo/route.cpp	2010-11-05 08:36:37 UTC (rev 54087)
@@ -443,9 +443,6 @@
 					turnedFl = true;
 				}
 				break;
-			case GO_SPACE:
-				warning("Unhandled gameStatus.go_for GO_STATUS");
-				break;
 			}
 		}
 	} else if (_vm->_hero->vx == 0 && _vm->_hero->vy == 0) {
@@ -493,7 +490,7 @@
 	bool foundFl = false;                           // TRUE if route found ok
 	if ((foundFl = findRoute(cx, cy))) {            // Found a route?
 		gameStatus.routeIndex = _routeListIndex;    // Node index
-		_vm->_hero->vx = _vm->_hero->vy = 0;      // Stop manual motion
+		_vm->_hero->vx = _vm->_hero->vy = 0;        // Stop manual motion
 	}
 
 	return foundFl;


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