[Scummvm-cvs-logs] scummvm master -> 84be5b04465fa241b1982f943df3d17a1a1ced1a

bluegr md5 at scummvm.org
Thu Dec 15 23:47:16 CET 2011


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:
84be5b0446 DREAMWEB: Rename 'reelCallbacksCPP' to reelCallbacks'


Commit: 84be5b04465fa241b1982f943df3d17a1a1ced1a
    https://github.com/scummvm/scummvm/commit/84be5b04465fa241b1982f943df3d17a1a1ced1a
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-12-15T14:46:05-08:00

Commit Message:
DREAMWEB: Rename 'reelCallbacksCPP' to reelCallbacks'

Changed paths:
    engines/dreamweb/people.cpp



diff --git a/engines/dreamweb/people.cpp b/engines/dreamweb/people.cpp
index a96af8b..fd408b7 100644
--- a/engines/dreamweb/people.cpp
+++ b/engines/dreamweb/people.cpp
@@ -24,7 +24,7 @@
 
 namespace DreamGen {
 
-static void (DreamGenContext::*reelCallbacksCPP[57])(ReelRoutine &) = {
+static void (DreamGenContext::*reelCallbacks[57])(ReelRoutine &) = {
 	&DreamGenContext::gamer, &DreamGenContext::sparkyDrip,
 	&DreamGenContext::eden, &DreamGenContext::edenInBath,
 	&DreamGenContext::sparky, &DreamGenContext::smokeBloke,
@@ -68,8 +68,8 @@ void DreamGenContext::updatePeople() {
 		if (r[i].reallocation == data.byte(kReallocation) &&
 		        r[i].mapX == data.byte(kMapx) &&
 		        r[i].mapY == data.byte(kMapy)) {
-			assert(reelCallbacksCPP[i]);
-			(this->*(reelCallbacksCPP[i]))(r[i]);
+			assert(reelCallbacks[i]);
+			(this->*(reelCallbacks[i]))(r[i]);
 		}
 	}
 }






More information about the Scummvm-git-logs mailing list