diff --git a/src/NPCManager.cpp b/src/NPCManager.cpp index 7f67d27..b83a47a 100644 --- a/src/NPCManager.cpp +++ b/src/NPCManager.cpp @@ -16,7 +16,7 @@ std::vector NPCManager::RespawnPoints; void NPCManager::init() { // load NPCs from NPCs.json into our NPC manager // Temporary fix, IDs will be pulled from json later - int i; + int i = 0; try { std::ifstream inFile(settings::NPCJSON);