diff options
author | Strangerke | 2013-02-19 07:54:57 +0100 |
---|---|---|
committer | Strangerke | 2013-02-19 07:55:38 +0100 |
commit | 72f7421b6d156b9c0e43aff116f5471aca322296 (patch) | |
tree | 6ce72341f340f2ae9908d627728aaa2b6304fa79 /engines/hopkins/lines.h | |
parent | 38e9dbfe3f641bfd4564a0103a5d97ec815904f3 (diff) | |
download | scummvm-rg350-72f7421b6d156b9c0e43aff116f5471aca322296.tar.gz scummvm-rg350-72f7421b6d156b9c0e43aff116f5471aca322296.tar.bz2 scummvm-rg350-72f7421b6d156b9c0e43aff116f5471aca322296.zip |
HOPKINS: Remove a couple of useless variables and associated dead code
Diffstat (limited to 'engines/hopkins/lines.h')
-rw-r--r-- | engines/hopkins/lines.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/hopkins/lines.h b/engines/hopkins/lines.h index 5df9a59daf..70fd5086bc 100644 --- a/engines/hopkins/lines.h +++ b/engines/hopkins/lines.h @@ -94,10 +94,9 @@ struct RouteItem { int16 _X; int16 _Y; Directions _dir; - int16 _unk; bool isValid() const { return _X != -1 || _Y != -1; } - void invalidate() { _X = _Y = _unk = -1; _dir = DIR_NONE; } - void set(int16 X, int16 Y, Directions dir) { _X = X; _Y = Y; _dir = dir; _unk = 0; } + void invalidate() { _X = _Y = -1; _dir = DIR_NONE; } + void set(int16 X, int16 Y, Directions dir) { _X = X; _Y = Y; _dir = dir; } }; |