aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamgen.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-12-06 21:18:17 +0100
committerWillem Jan Palenstijn2011-12-06 21:19:42 +0100
commit44ed4ef0dfef85d5505109b46a4ce7d0f9bb60d5 (patch)
tree58b446e2698c2c3aaf4dacae2c059ae906e4d70a /engines/dreamweb/dreamgen.cpp
parent454205a6e375c00a1fd0e79aed99655fdfed9d57 (diff)
downloadscummvm-rg350-44ed4ef0dfef85d5505109b46a4ce7d0f9bb60d5.tar.gz
scummvm-rg350-44ed4ef0dfef85d5505109b46a4ce7d0f9bb60d5.tar.bz2
scummvm-rg350-44ed4ef0dfef85d5505109b46a4ce7d0f9bb60d5.zip
DREAMWEB: Move 'train' out of dreamgen again
Apparently it is effectively empty...
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r--engines/dreamweb/dreamgen.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index c66d6b73ff..33f1939d6e 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -1200,32 +1200,6 @@ nocopper:
addToPeopleList();
}
-void DreamGenContext::train() {
- STACK_CHECK;
- return;
- ax = es.word(bx+3);
- _cmp(ax, 21);
- if (!flags.c())
- goto notrainyet;
- _inc(ax);
- goto gottrainframe;
-notrainyet:
- randomNumber();
- _cmp(al, 253);
- if (flags.c())
- return /* (notrainatall) */;
- _cmp(data.byte(kManspath), 5);
- if (!flags.z())
- return /* (notrainatall) */;
- _cmp(data.byte(kFinaldest), 5);
- if (!flags.z())
- return /* (notrainatall) */;
- ax = 5;
-gottrainframe:
- es.word(bx+3) = ax;
- showGameReel();
-}
-
void DreamGenContext::checkForExit() {
STACK_CHECK;
cl = data.byte(kRyanx);