diff options
author | Eric Fry | 2018-04-30 20:17:10 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | a7d78df98cdd0399d338c0077efc474d02678643 (patch) | |
tree | f8f741af710ab551c004bd8a465eef66d4521b04 /engines/illusions/pathfinder.cpp | |
parent | 39798c63d1d6a7153527a726acfa3c1cf837760f (diff) | |
download | scummvm-rg350-a7d78df98cdd0399d338c0077efc474d02678643.tar.gz scummvm-rg350-a7d78df98cdd0399d338c0077efc474d02678643.tar.bz2 scummvm-rg350-a7d78df98cdd0399d338c0077efc474d02678643.zip |
ILLUSIONS: Fix clang warnings. Work on menu keyboard control
Fix some warnings while compiling with clang.
Add up/down key support in game menus.
Diffstat (limited to 'engines/illusions/pathfinder.cpp')
-rw-r--r-- | engines/illusions/pathfinder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/illusions/pathfinder.cpp b/engines/illusions/pathfinder.cpp index a9a76e3a65..ac4f53df45 100644 --- a/engines/illusions/pathfinder.cpp +++ b/engines/illusions/pathfinder.cpp @@ -315,7 +315,8 @@ int PathFinder::calcLineStatus(PathLine &sourceLine, PathLine &destRect, Common: return 2; int v15 = sourceDeltaX * delta1, v18 = sourceDeltaY * delta1; - int v16, v17; + int v16 = 0; + int v17 = 0; if ((v15 >= 0 && delta2 >= 0) || (v15 < 0 && delta2 < 0)) { v16 = delta2 / 2; |