diff options
author | Joost Peters | 2009-06-01 20:53:19 +0000 |
---|---|---|
committer | Joost Peters | 2009-06-01 20:53:19 +0000 |
commit | ce1c5e2c0baa749ab5cbcb440c389470d1dfcb05 (patch) | |
tree | e8a28efa56e6844c11fc8f258626eef4ff984d55 /engines/cruise | |
parent | c7d181d1074e3a914b47488538dcffca06d2ac46 (diff) | |
download | scummvm-rg350-ce1c5e2c0baa749ab5cbcb440c389470d1dfcb05.tar.gz scummvm-rg350-ce1c5e2c0baa749ab5cbcb440c389470d1dfcb05.tar.bz2 scummvm-rg350-ce1c5e2c0baa749ab5cbcb440c389470d1dfcb05.zip |
change pathfinding variables from char to int8 to ensure signedness
svn-id: r41109
Diffstat (limited to 'engines/cruise')
-rw-r--r-- | engines/cruise/actor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cruise/actor.cpp b/engines/cruise/actor.cpp index 36ba6e4b8b..969be96573 100644 --- a/engines/cruise/actor.cpp +++ b/engines/cruise/actor.cpp @@ -349,7 +349,7 @@ int point_proche(int16 table[][2]) { #define NBNOEUD 20 int16 select_noeud[3]; -char solution[20 + 1]; +int8 solution[20 + 1]; int prem; int prem2; @@ -357,9 +357,9 @@ int dist_chemin; int idsol; int solmax; -char fl[NBNOEUD + 1]; -char sol[NBNOEUD + 1]; -char Fsol[NBNOEUD + 1]; +int8 fl[NBNOEUD + 1]; +int8 sol[NBNOEUD + 1]; +int8 Fsol[NBNOEUD + 1]; int D; |