Skip to content

Commit

Permalink
HOPKINS: Fix some more uninitialised variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 22, 2012
1 parent 1ab3d75 commit 289ca6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions engines/hopkins/events.cpp
Expand Up @@ -45,6 +45,7 @@ EventsManager::EventsManager() {
lItCounter = 0;
ESC_KEY = false;
btsouris = 0;
OLD_ICONE = 0;

_priorCounterTime = 0;
_priorFrameTime = 0;
Expand Down
1 change: 1 addition & 0 deletions engines/hopkins/hopkins.cpp
Expand Up @@ -49,6 +49,7 @@ HopkinsEngine::HopkinsEngine(OSystem *syst, const HopkinsGameDescription *gameDe
_menuManager.setParent(this);
_objectsManager.setParent(this);
_soundManager.setParent(this);
_talkManager.setParent(this);
}

HopkinsEngine::~HopkinsEngine() {
Expand Down
2 changes: 1 addition & 1 deletion engines/hopkins/talk.cpp
Expand Up @@ -955,7 +955,7 @@ void TalkManager::REPONSE(int a1, int a2) {
v3 = a2;
LABEL_2:
v15 = 0;
if (g_PTRNUL != _vm->_globals.COUCOU) {
if (_vm->_globals.COUCOU != g_PTRNUL) {
v5 = _vm->_globals.COUCOU;
while (1) {
if (*v5 == 'C') {
Expand Down

0 comments on commit 289ca6e

Please sign in to comment.