Skip to content

Commit

Permalink
HOPKINS: Little cleanup of previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Nov 11, 2012
1 parent 99cc57f commit 9b9b761
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions engines/hopkins/hopkins.cpp
Expand Up @@ -1903,9 +1903,6 @@ void HopkinsEngine::AVION() {
int HopkinsEngine::PWBASE() {
warning("PWBASE()");

int v0; // edi@1
int result; // eax@30

_globals.DESACTIVE_INVENT = true;
_graphicsManager.LOAD_IMAGE("PBASE");
_graphicsManager.SETCOLOR3(252, 100, 100, 100);
Expand All @@ -1914,7 +1911,7 @@ int HopkinsEngine::PWBASE() {
_graphicsManager.SETCOLOR3(254, 0, 0, 0);
_eventsManager.CHANGE_MOUSE(0);
_graphicsManager.FADE_INW();
v0 = 0;
bool loopCond = false;
int zone;
do {
int mouseButton = _eventsManager.BMOUSE();
Expand Down Expand Up @@ -1951,10 +1948,12 @@ int HopkinsEngine::PWBASE() {
}
_eventsManager.VBL();
if ((mouseButton == 1) && zone)
v0 = 1;
} while (v0 != 1);
loopCond = true;
} while (!loopCond);
_globals.DESACTIVE_INVENT = false;
_graphicsManager.FADE_OUTW();

int result;
switch (zone) {
case 1:
result = 94;
Expand Down

0 comments on commit 9b9b761

Please sign in to comment.