summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-29 09:54:15 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-29 09:54:15 +0000
commit244e5b8173e64488cd17531edb6b13a84d51d37b (patch)
tree036110dc1e4ec2cd2d12910761869060687508f8 /games-puzzle/quadra
parentfix #38831 (diff)
downloadhistorical-244e5b8173e64488cd17531edb6b13a84d51d37b.tar.gz
historical-244e5b8173e64488cd17531edb6b13a84d51d37b.tar.bz2
historical-244e5b8173e64488cd17531edb6b13a84d51d37b.zip
update patch
Diffstat (limited to 'games-puzzle/quadra')
-rw-r--r--games-puzzle/quadra/files/quadra-1.1.8-gcc3.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games-puzzle/quadra/files/quadra-1.1.8-gcc3.patch b/games-puzzle/quadra/files/quadra-1.1.8-gcc3.patch
index 2e01e2641a6c..6894a004d14d 100644
--- a/games-puzzle/quadra/files/quadra-1.1.8-gcc3.patch
+++ b/games-puzzle/quadra/files/quadra-1.1.8-gcc3.patch
@@ -69,3 +69,15 @@ diff -urN quadra-1.1.8/source/quadra.cpp quadra-1.1.8-kacsa/source/quadra.cpp
msgbox("Exception caught from ecran->draw_zone(): %s\n", e->what());
}
+--- quadra-1.1.8/source/net_server.cpp.orig 2004-01-29 04:44:28.493992136 -0500
++++ quadra-1.1.8-herpies/source/net_server.cpp 2004-01-29 04:44:47.181151256 -0500
+@@ -406,7 +406,8 @@
+ if(game->server_max_players && game->net_list.size() >= game->server_max_players)
+ playeraccepted.accepted = 5; // game is full, can't join
+ if(game->server_max_teams && game->net_list.count_teams() >= game->server_max_teams) {
+- for(unsigned i=0; i<MAXPLAYERS; ++i) {
++ unsigned i;
++ for(i=0; i<MAXPLAYERS; ++i) {
+ Canvas* c=game->net_list.get(i);
+ if(c && c->color==p->team)
+ break;