[Scummvm-cvs-logs] SF.net SVN: scummvm:[40399] scummvm/trunk/engines/sci/engine/kpathing.cpp

waltervn at users.sourceforge.net waltervn at users.sourceforge.net
Sat May 9 11:52:46 CEST 2009


Revision: 40399
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40399&view=rev
Author:   waltervn
Date:     2009-05-09 09:52:46 +0000 (Sat, 09 May 2009)

Log Message:
-----------
SCI: AvoidPath: Got rid of a warning.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kpathing.cpp

Modified: scummvm/trunk/engines/sci/engine/kpathing.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kpathing.cpp	2009-05-09 01:23:52 UTC (rev 40398)
+++ scummvm/trunk/engines/sci/engine/kpathing.cpp	2009-05-09 09:52:46 UTC (rev 40399)
@@ -859,6 +859,7 @@
 	return visVerts;
 }
 
+#if 0
 static bool point_on_screen_border(const Common::Point &p) {
 	// Determines if a point lies on the screen border
 	// Parameters: (const Common::Point &) p: The point
@@ -866,6 +867,7 @@
 	// FIXME get dimensions from somewhere?
 	return (p.x == 0) || (p.x == 319) || (p.y == 0) || (p.y == 189);
 }
+#endif
 
 static bool edge_on_screen_border(const Common::Point &p, const Common::Point &q) {
 	// Determines if an edge lies on the screen border


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