Basic Implementation of a lair unlock command

This commit is contained in:
Titan
2020-11-30 18:59:39 +02:00
committed by Gent S
parent d2d6171d04
commit c1941654b6
3 changed files with 49 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ void MissionManager::init() {
REGISTER_SHARD_PACKET(P_CL2FE_REQ_PC_TASK_STOP, quitMission);
}
bool startTask(Player* plr, int TaskID, bool NanoMission) {
bool MissionManager::startTask(Player* plr, int TaskID, bool NanoMission) {
if (MissionManager::Tasks.find(TaskID) == MissionManager::Tasks.end()) {
std::cout << "[WARN] Player submitted unknown task!?" << std::endl;
return false;