File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -489,12 +489,7 @@ namespace RTE {
489
489
490
490
// / Returns the next unique id for MO's and increments unique ID counter
491
491
// / @return Returns the next unique id.
492
- long GetNextUniqueID () {
493
- if (m_ShouldPersistUniqueIDs) {
494
- return 0 ;
495
- }
496
- return ++m_UniqueIDCounter;
497
- }
492
+ long GetNextUniqueID () { if (m_ShouldPersistUniqueIDs) { return 0 ; } return ++m_UniqueIDCounter; }
498
493
499
494
// / Returns the max unique id for MO's
500
495
// / @return Returns the current max unique id.
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ void SaveLoadMenuGUI::PopulateSaveGamesList() {
102
102
103
103
std::string originalScenePresetName;
104
104
while (reader.NextProperty ()) {
105
- // This is a bit unsafe because it skips properties, but meh, doesn't matter as long as Activity and OriginalScenePresetName are first
105
+ // This is a bit unsafe because it skips properties, but meh, doesn't matter as long as Activity and OriginalScenePresetName are first
106
106
std::string propName = reader.ReadPropName ();
107
107
if (propName == " Activity" ) {
108
108
reader >> activity;
You can’t perform that action at this time.
0 commit comments