1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/CaribbeanStud/files/patch-Dealer.h
Danilo Egea Gondolfo c65da11422 - Remove extra tabs
- Add stage support
- Fix build
- Add DOCS option
2013-10-29 18:00:51 +00:00

24 lines
545 B
C

--- ./Dealer.h.orig 2013-10-29 15:12:13.000000000 -0200
+++ ./Dealer.h 2013-10-29 15:12:13.000000000 -0200
@@ -92,7 +92,8 @@
inline void Dealer::Add (Player* newPlayer)
{
- for(int i=0; i < 10; i++)
+ int i;
+ for(i=0; i < 10; i++)
if( !_players[i] ){
_players[i] = newPlayer;
break;
@@ -102,8 +103,8 @@
inline void Dealer::Remove (Player* aplayer)
{
- int pos = 20;
- for(int i=0; _players[i]; i++)
+ int pos = 20, i;
+ for(i=0; _players[i]; i++)
if(aplayer == _players[i])
{
pos = i; break;