[NeoStats-Devel] [Commits] r11 - trunk
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: DNB
Date: Thu Apr 21 08:09:07 2005
New Revision: 11
Modified:
trunk/play.c
Log:
fix players scores being copied on player remove
Modified: trunk/play.c
==============================================================================
--- trunk/play.c (original)
+++ trunk/play.c Thu Apr 21 08:09:07 2005
@@ -221,7 +221,7 @@
gd->pd[i2]->u = gd->pd[(i2 + 1)]->u;
gd->pd[i2]->score = gd->pd[(i2 + 1)]->score;
for (i3 = 0 ; i3 < 15 ; i3++) {
- gd->pd[i2]->hand[13] = gd->pd[(i2 + 1)]->hand[i3];
+ gd->pd[i2]->hand[i3] = gd->pd[(i2 + 1)]->hand[i3];
}
} else {
gd->pd[i2]->u = NULL;