Skip to content

Commit

Permalink
SHERLOCK: Further compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed May 30, 2015
1 parent ed96e94 commit cc165de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion engines/sherlock/scalpel/drivers/adlib.cpp
Expand Up @@ -405,7 +405,7 @@ void MidiDriver_AdLib::send(uint32 b) {
pitchBendChange(channel, op1, op2);
break;
case 0xf0: // SysEx
warning("SysEx: %lx", b);
warning("SysEx: %x", b);
break;
default:
warning("ADLIB: Unknown event %02x", command);
Expand Down
12 changes: 6 additions & 6 deletions engines/sherlock/scalpel/scalpel_user_interface.h
Expand Up @@ -79,12 +79,6 @@ class ScalpelUserInterface: public UserInterface {
*/
void toggleButton(int num);

/**
* Creates a text window and uses it to display the in-depth description
* of the highlighted object
*/
void examine();

/**
* Print the name of an object in the scene
*/
Expand Down Expand Up @@ -172,6 +166,12 @@ class ScalpelUserInterface: public UserInterface {
* (not selected) position
*/
void restoreButton(int num);

/**
* Creates a text window and uses it to display the in-depth description
* of the highlighted object
*/
void examine();
public:
/**
* Resets the user interface
Expand Down
3 changes: 1 addition & 2 deletions engines/sherlock/tattoo/tattoo_scene.cpp
Expand Up @@ -229,7 +229,6 @@ void TattooScene::doBgAnim() {
}

void TattooScene::doBgAnimUpdateBgObjectsAndAnim() {
TattooEngine &vm = *((TattooEngine *)_vm);
People &people = *_vm->_people;
Screen &screen = *_vm->_screen;

Expand All @@ -244,7 +243,7 @@ void TattooScene::doBgAnimUpdateBgObjectsAndAnim() {
people[idx].adjustSprite();
}

if (_activeCAnim._images != nullptr && _activeCAnim._zPlacement != REMOVE) {
if ((_activeCAnim._images != nullptr) && (_activeCAnim._zPlacement != REMOVE)) {
_activeCAnim.getNextFrame();
}

Expand Down

0 comments on commit cc165de

Please sign in to comment.