mirror of
https://gitlab.com/klmp200/LO41.git
synced 2025-07-11 20:29:24 +00:00
C'est quand même mieux de vérifier si ça compile avant de push
This commit is contained in:
@ -122,6 +122,8 @@ int get_inside_elevator_Building(THIS(Building), int current_floor, Passenger pa
|
||||
for (i=0; i<ELEVATOR_NB; i++){
|
||||
if (this->elevators[i]->get_floor(this->elevators[i]) == current_floor &&
|
||||
this->elevators[i]->get_state(this->elevators[i]) == waiting){
|
||||
/* pour faire taire le compilateur le temps que je revienne sur cette fonction */
|
||||
printf("visiteur %s, de type %d\n", passenger.visitor->name, type);
|
||||
/* Il faut faire des trucs ici */
|
||||
return i;
|
||||
}
|
||||
|
Reference in New Issue
Block a user