Update controleur.cpp

correct pointer check