Skip to content

Commit

Permalink
HOPKINS: Add TalkManager constructor to initialise it's fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 24, 2012
1 parent 5f56afd commit aeb7794
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions engines/hopkins/talk.cpp
Expand Up @@ -33,6 +33,18 @@

namespace Hopkins {

TalkManager::TalkManager() {
BUFFERPERSO = NULL;
PALPERSO = NULL;
PERSOSPR = NULL;
ADR_ANIM = NULL;
TAILLEPERSO = 0;
STATI = 0;
PLIGNE1 = PLIGNE2 = 0;
PLIGNE3 = PLIGNE4 = 0;
PCHERCHE = 0;
}

void TalkManager::setParent(HopkinsEngine *vm) {
_vm = vm;
}
Expand Down
1 change: 1 addition & 0 deletions engines/hopkins/talk.h
Expand Up @@ -46,6 +46,7 @@ class TalkManager {
int PLIGNE3, PLIGNE4;
int PCHERCHE;
public:
TalkManager();
void setParent(HopkinsEngine *vm);

void PARLER_PERSO2(const Common::String &filename);
Expand Down

0 comments on commit aeb7794

Please sign in to comment.