// *************************************************************** // Function: LoadReplayPackets.cpp // *************************************************************** #include "Main.h" //************************************ // Name: LoadReplayPackets // // Loads replay packets. // // Parameters: // // Return: // true - success // false - failed //************************************ bool LoadReplayPackets() { gCoreLog.WriteCategory("[Loading]"); gPacketManager.DirSwitch("Data/Packets/"); if (gPacketManager.Load("Data/Packets/")!=0) { gCoreLog.error("Failed to load packets. Fatal error."); return false; } return true; }