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

◆ CanReachSeatFromSeat() [2/2]

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

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

297 {
298 switch( currentSeat )
299 {
300 case 0:
301 if ( nextSeat == 1 )
302 return true;
303 break;
304 case 1:
305 if ( nextSeat == 0 )
306 return true;
307 break;
308 case 2:
309 if ( nextSeat == 3 )
310 return true;
311 break;
312 case 3:
313 if ( nextSeat == 2 )
314 return true;
315 break;
316 }
317
318 return false;
319 }