tresinformal / drakkar

The tresinformal video game called 'Drakkar'
GNU General Public License v3.0
11 stars 4 forks source link

Add operator== for player to player #676

Closed richelbilderbeek closed 1 year ago

richelbilderbeek commented 1 year ago

Context

Currently, we cannot compare player for equality.

Test

#define FIX_ISSUE_676
// (676) Can compare players for equality
{
  const player a;
  const player b;
  assert(a == b);
}
#endif // FIX_ISSUE_676