mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-10-13 09:30:13 +00:00
Fix indentation in RacingManager.cpp and compilation on Linux
This commit is contained in:
@@ -1825,8 +1825,4 @@ void Database::postRaceRanking(Database::RaceRanking ranking) {
|
||||
}
|
||||
|
||||
sqlite3_finalize(stmt);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@@ -12,7 +12,6 @@ struct EPRace {
|
||||
};
|
||||
|
||||
namespace RacingManager {
|
||||
|
||||
extern std::map<int32_t, EPInfo> EPData;
|
||||
extern std::map<CNSocket*, EPRace> EPRaces;
|
||||
extern std::map<int32_t, std::pair<std::vector<int>, std::vector<int>>> EPRewards;
|
||||
|
@@ -547,7 +547,7 @@ void TableData::loadDrops() {
|
||||
|
||||
// find the instance data corresponding to the EPID
|
||||
int EPMap = -1;
|
||||
for (auto& it = RacingManager::EPData.begin(); it != RacingManager::EPData.end(); it++) {
|
||||
for (auto it = RacingManager::EPData.begin(); it != RacingManager::EPData.end(); it++) {
|
||||
if (it->second.EPID == raceEPID) {
|
||||
EPMap = it->first;
|
||||
}
|
||||
|
Reference in New Issue
Block a user