mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-25 14:30:14 +00:00
Fix indentation in RacingManager.cpp and compilation on Linux
This commit is contained in:
parent
8a2073d081
commit
322e354f5b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user