DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CanReachSeatFromSeat() [8/8]

override bool CarScript::CanReachSeatFromSeat ( int currentSeat,
int nextSeat )
inlineprotected

См. определение в файле Van_01.c строка 285

286 {
287 switch( currentSeat )
288 {
289 case 0:
290 if ( nextSeat == 1 )
291 return true;
292 break;
293 case 1:
294 if ( nextSeat == 0 )
295 return true;
296 break;
297 case 2:
298 if ( nextSeat == 3 )
299 return true;
300 break;
301 case 3:
302 if ( nextSeat == 2 )
303 return true;
304 break;
305 }
306
307 return false;
308 }