Skip to content

Commit

Permalink
DREAMWEB: Rename 'reelCallbacksCPP' to reelCallbacks'
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 15, 2011
1 parent a6b2b9c commit 84be5b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engines/dreamweb/people.cpp
Expand Up @@ -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,
Expand Down Expand Up @@ -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]);
}
}
}
Expand Down

0 comments on commit 84be5b0

Please sign in to comment.