[Scummvm-cvs-logs] SF.net SVN: scummvm: [30379] scummvm/trunk/engines/lure

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Thu Jan 10 20:06:38 CET 2008


Revision: 30379
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30379&view=rev
Author:   eriktorbjorn
Date:     2008-01-10 11:06:38 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
Fixed warnings.

Modified Paths:
--------------
    scummvm/trunk/engines/lure/hotspots.cpp
    scummvm/trunk/engines/lure/hotspots.h
    scummvm/trunk/engines/lure/res_struct.cpp

Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp	2008-01-10 13:37:34 UTC (rev 30378)
+++ scummvm/trunk/engines/lure/hotspots.cpp	2008-01-10 19:06:38 UTC (rev 30379)
@@ -4839,13 +4839,13 @@
 	}
 }
 
-HotspotScheduleRecord::HotspotScheduleRecord(uint16 hotspotId, CurrentActionStack &stack) {
-	this->hotspotId = hotspotId;
+HotspotScheduleRecord::HotspotScheduleRecord(uint16 hId, CurrentActionStack &stack) {
+	hotspotId = hId;
 	copyFrom(stack);
 }
 
-HotspotScheduleRecord::HotspotScheduleRecord(uint16 hotspotId) {
-	this->hotspotId = hotspotId;
+HotspotScheduleRecord::HotspotScheduleRecord(uint16 hId) {
+	hotspotId = hId;
 }
 
 void HotspotSchedules::saveToStream(WriteStream *stream) {

Modified: scummvm/trunk/engines/lure/hotspots.h
===================================================================
--- scummvm/trunk/engines/lure/hotspots.h	2008-01-10 13:37:34 UTC (rev 30378)
+++ scummvm/trunk/engines/lure/hotspots.h	2008-01-10 19:06:38 UTC (rev 30379)
@@ -255,8 +255,8 @@
 public:
 	uint16 hotspotId;
 
-	HotspotScheduleRecord(uint16 hotspotId, CurrentActionStack &stack);
-	HotspotScheduleRecord(uint16 hotspotId);
+	HotspotScheduleRecord(uint16 hId, CurrentActionStack &stack);
+	HotspotScheduleRecord(uint16 hId);
 };
 
 class HotspotSchedules: public ManagedList<HotspotScheduleRecord *> {

Modified: scummvm/trunk/engines/lure/res_struct.cpp
===================================================================
--- scummvm/trunk/engines/lure/res_struct.cpp	2008-01-10 13:37:34 UTC (rev 30378)
+++ scummvm/trunk/engines/lure/res_struct.cpp	2008-01-10 19:06:38 UTC (rev 30379)
@@ -748,7 +748,6 @@
 }
 
 void SequenceDelayList::tick() {
-	Resources &res = Resources::getReference();
 	uint32 currTime = g_system->getMillis();
 	SequenceDelayList::iterator i;
 


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