File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
GeneralsMD/Code/GameEngine Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class OptionPreferences : public UserPreferences
9191 void setOnlineIPAddress (AsciiString IP); // convenience function
9292 void setLANIPAddress (UnsignedInt IP); // convenience function
9393 void setOnlineIPAddress (UnsignedInt IP); // convenience function
94- const Bool getArchiveReplaysEnabled (); // convenience function
94+ Bool getArchiveReplaysEnabled () const ; // convenience function
9595 Bool getAlternateMouseModeEnabled (void ); // convenience function
9696 Real getScrollFactor (void ); // convenience function
9797 Bool getDrawScrollAnchor (void );
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ void OptionPreferences::setOnlineIPAddress( UnsignedInt IP )
310310 (*this )[" GameSpyIPAddress" ] = tmp;
311311}
312312
313- const Bool OptionPreferences::getArchiveReplaysEnabled ()
313+ Bool OptionPreferences::getArchiveReplaysEnabled () const
314314{
315315 OptionPreferences::const_iterator it = find (" ArchiveReplays" );
316316 if (it == end ())
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class OptionPreferences : public UserPreferences
9292 void setOnlineIPAddress (AsciiString IP); // convenience function
9393 void setLANIPAddress (UnsignedInt IP); // convenience function
9494 void setOnlineIPAddress (UnsignedInt IP); // convenience function
95- const Bool getArchiveReplaysEnabled (); // convenience function
95+ Bool getArchiveReplaysEnabled () const ; // convenience function
9696 Bool getAlternateMouseModeEnabled (void ); // convenience function
9797 Bool getRetaliationModeEnabled (); // convenience function
9898 Bool getDoubleClickAttackMoveEnabled (void ); // convenience function
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ void OptionPreferences::setOnlineIPAddress( UnsignedInt IP )
319319 (*this )[" GameSpyIPAddress" ] = tmp;
320320}
321321
322- const Bool OptionPreferences::getArchiveReplaysEnabled ()
322+ Bool OptionPreferences::getArchiveReplaysEnabled () const
323323{
324324 OptionPreferences::const_iterator it = find (" ArchiveReplays" );
325325 if (it == end ())
You can’t perform that action at this time.
0 commit comments