diff dep/animia/src/animia.cc @ 153:bd439dd6ffc5

*: make win stuff actually work, rename bsd.cc to xnu.cc It's been OS X only for ages, and these functions are different between most BSDs anyway
author Paper <mrpapersonic@gmail.com>
date Wed, 15 Nov 2023 13:28:18 -0500
parents 8700806c2cc2
children d2bbb5773616
line wrap: on
line diff
--- a/dep/animia/src/animia.cc	Wed Nov 15 02:34:59 2023 -0500
+++ b/dep/animia/src/animia.cc	Wed Nov 15 13:28:18 2023 -0500
@@ -38,10 +38,10 @@
 }
 
 static bool PlayerHasStrategy(const Player& player, const Strategy& strategy) {
-	for (const auto& pstrategy : player.strategies) {
+	for (const auto& pstrategy : player.strategies)
 		if (pstrategy == strategy)
 			return true;
-	}
+
 	return false;
 }