Skip to content

Commit 0954249

Browse files
committed
Fix format
1 parent 3592df1 commit 0954249

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Source/Managers/MovableMan.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,12 @@ namespace RTE {
489489

490490
/// Returns the next unique id for MO's and increments unique ID counter
491491
/// @return Returns the next unique id.
492-
long GetNextUniqueID() { if (m_ShouldPersistUniqueIDs) { return 0; } return ++m_UniqueIDCounter; }
492+
long GetNextUniqueID() {
493+
if (m_ShouldPersistUniqueIDs) {
494+
return 0;
495+
}
496+
return ++m_UniqueIDCounter;
497+
}
493498

494499
/// Returns the max unique id for MO's
495500
/// @return Returns the current max unique id.

Source/Menus/SaveLoadMenuGUI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void SaveLoadMenuGUI::PopulateSaveGamesList() {
102102

103103
std::string originalScenePresetName;
104104
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
106106
std::string propName = reader.ReadPropName();
107107
if (propName == "Activity") {
108108
reader >> activity;

0 commit comments

Comments
 (0)