Skip to content

Commit

Permalink
PRINCE: Rename runDialog() into dialogRun() to avoid clash with Engin…
Browse files Browse the repository at this point in the history
…e::runDialog()
  • Loading branch information
sev- committed Oct 10, 2014
1 parent 6419a0d commit 24dd5d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engines/prince/prince.cpp
Expand Up @@ -2773,7 +2773,7 @@ void PrinceEngine::createDialogBox(int dialogBoxNr) {
_dialogImage->fillRect(dBoxRect, _graph->kShadowColor);
}

void PrinceEngine::runDialog() {
void PrinceEngine::dialogRun() {

_dialogFlag = true;

Expand Down
2 changes: 1 addition & 1 deletion engines/prince/prince.h
Expand Up @@ -491,7 +491,7 @@ class PrinceEngine : public Engine {
Graphics::Surface *_dialogImage;

void createDialogBox(int dialogBoxNr);
void runDialog();
void dialogRun();
void talkHero(int slot);
void doTalkAnim(int animNumber, int slot, AnimType animType);

Expand Down
2 changes: 1 addition & 1 deletion engines/prince/script.cpp
Expand Up @@ -1586,7 +1586,7 @@ void Interpreter::O_SHOWDIALOGBOX() {
_flags->setFlagValue(Flags::DIALINES, _vm->_dialogLines);
if (_vm->_dialogLines) {
_vm->changeCursor(1);
_vm->runDialog();
_vm->dialogRun();
_vm->changeCursor(0);
}
_currentInstruction = currInstr;
Expand Down

0 comments on commit 24dd5d1

Please sign in to comment.