diff options
author | Max Horn | 2009-07-25 09:36:16 +0000 |
---|---|---|
committer | Max Horn | 2009-07-25 09:36:16 +0000 |
commit | 4463e1c084a4822a2c5c130532964ea3372bdef7 (patch) | |
tree | a2088971c739867ce760f70e3c58cb8adc7adfc5 /engines | |
parent | 27efb99ae8b52cc1209bbfae268f0b75c3572302 (diff) | |
download | scummvm-rg350-4463e1c084a4822a2c5c130532964ea3372bdef7.tar.gz scummvm-rg350-4463e1c084a4822a2c5c130532964ea3372bdef7.tar.bz2 scummvm-rg350-4463e1c084a4822a2c5c130532964ea3372bdef7.zip |
Whitespace fixes
svn-id: r42742
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/costume.cpp | 6 | ||||
-rw-r--r-- | engines/scumm/costume.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/costume.cpp b/engines/scumm/costume.cpp index 3c6c8620b0..57b793d579 100644 --- a/engines/scumm/costume.cpp +++ b/engines/scumm/costume.cpp @@ -1214,7 +1214,7 @@ void C64CostumeLoader::frameUpdate(ActorC64 *a, int cmd ) { // based on 0x2BCA, doesn't match disassembly because 'oldDir' variable // is not the same value as stored in the original interpreter -int C64CostumeLoader::dirToDirStop( int oldDir ) { +int C64CostumeLoader::dirToDirStop(int oldDir) { switch (oldDir) { case 0: return 4; // Left @@ -1237,7 +1237,7 @@ void C64CostumeLoader::actorSpeak(ActorC64 *a, int &cmd) { } void C64CostumeLoader::costumeDecodeData(Actor *a, int frame, uint usemask) { - ActorC64 *A = (ActorC64*) a; + ActorC64 *A = (ActorC64 *)a; int dir = newDirToOldDir(a->getFacing()); int command = dir; @@ -1275,7 +1275,7 @@ void C64CostumeLoader::costumeDecodeData(Actor *a, int frame, uint usemask) { } byte C64CostumeLoader::increaseAnims(Actor *a) { - ActorC64 *A = (ActorC64*) a; + ActorC64 *A = (ActorC64 *)a; // check if the actor speak flag has changed since last frame increase if (A->_speaking != A->_speakingPrev) { diff --git a/engines/scumm/costume.h b/engines/scumm/costume.h index 03de9c0510..8e1910abcf 100644 --- a/engines/scumm/costume.h +++ b/engines/scumm/costume.h @@ -82,7 +82,7 @@ public: protected: void actorSpeak(ActorC64 *a, int &cmd); - int dirToDirStop( int oldDir ); + int dirToDirStop(int oldDir); void frameUpdate(ActorC64 *A, int cmd); }; |