ExtraOptionsInfo.cpp 506 B

123456789101112131415161718192021
  1. /*
  2. * ExtraOptionsInfo.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include "StdInc.h"
  11. #include "ExtraOptionsInfo.h"
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. bool ExtraOptionsInfo::operator == (const ExtraOptionsInfo & other) const
  14. {
  15. return cheatsAllowed == other.cheatsAllowed &&
  16. unlimitedReplay == other.unlimitedReplay;
  17. }
  18. VCMI_LIB_NAMESPACE_END