Fix build warnings and added error handling for NPCManager::getID()
in GameStatePlay.
Merge pull request #373 from hean01/master

Fix build warning and a proper handling of failed lookups using NPCManager::getID()