From ce1c5e2c0baa749ab5cbcb440c389470d1dfcb05 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Mon, 1 Jun 2009 20:53:19 +0000 Subject: change pathfinding variables from char to int8 to ensure signedness svn-id: r41109 --- engines/cruise/actor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/cruise/actor.cpp') 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; -- cgit v1.2.3