Skip to content

Commit

Permalink
Invalid serialization for save files (#9551)
Browse files Browse the repository at this point in the history
  • Loading branch information
felix642 authored Feb 11, 2025
1 parent fb7fef9 commit a355aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fheroes2/maps/maps_objects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ IStreamBase & operator>>( IStreamBase & stream, MapBaseObject & obj )
OStreamBase & operator<<( OStreamBase & stream, const MapEvent & obj )
{
return stream << static_cast<const MapBaseObject &>( obj ) << obj.resources << obj.artifact << obj.isComputerPlayerAllowed << obj.isSingleTimeEvent << obj.colors
<< obj.message << obj.secondarySkill;
<< obj.message << obj.secondarySkill << obj.experience;
}

IStreamBase & operator>>( IStreamBase & stream, MapEvent & obj )
Expand Down

0 comments on commit a355aed

Please sign in to comment.