fix some compile warnings:
warning: narrowing conversion of 'facing' from 'int' to 'short int' inside { } is ill-formed in C++11 [-Wnarrowing]
... is initialized before...