Move call to enemiesNearby() from InputManager::rest() to World::canRest().
Current implementation of World::canRest()
checks other conditions however says that the case 3
/// 3 - enemies are nearby (not implemented)
this functionality exists in InputManager::rest()
and should be moved to the common place in World::canRest()
.
Edited by Sergey Fukanchik