diff options
Diffstat (limited to 'engines/cruise/actor.cpp')
-rw-r--r-- | engines/cruise/actor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/actor.cpp b/engines/cruise/actor.cpp index 1cedb816e0..4c38fa9492 100644 --- a/engines/cruise/actor.cpp +++ b/engines/cruise/actor.cpp @@ -442,7 +442,7 @@ void explore( int depart, int arrivee ) D=0; for ( i=0; i < idsol; i++ ) { - D = D+ctp_routeCoords[sol[i]][sol[i+1]]; + D = D+ctp_routeCoords[(int)sol[i]][(int)sol[i+1]]; Fsol[i]=sol[i]; } prem2=0; |