[Scummvm-cvs-logs] SF.net SVN: scummvm: [22390] scummvm/trunk/engines/kyra/items.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Mon May 8 06:43:03 CEST 2006


Revision: 22390
Author:   eriktorbjorn
Date:     2006-05-08 06:42:29 -0700 (Mon, 08 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22390&view=rev

Log Message:
-----------
Small cleanup. It's not that I mind fallthroughs - as long as they are clearly
labelled as being intentional - but to save just one line of code? That hardly
seems worth it.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/items.cpp
Modified: scummvm/trunk/engines/kyra/items.cpp
===================================================================
--- scummvm/trunk/engines/kyra/items.cpp	2006-05-08 13:34:21 UTC (rev 22389)
+++ scummvm/trunk/engines/kyra/items.cpp	2006-05-08 13:42:29 UTC (rev 22390)
@@ -150,8 +150,11 @@
 		case 51:
 			if (room != 46) {
 				placeItem = true;
-				break;
+			} else {
+				placeItem = false;
 			}		
+			break;
+
 		default:
 			placeItem = false;
 			break;


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