(svn r6897) - Fix (r6884): Another wrong last parametr :)
authorpeter1138
Sun, 22 Oct 2006 19:56:26 +0000
changeset 4921 653e4774389b
parent 4920 de739ffd31a4
child 4922 58a40fcc1b72
(svn r6897) - Fix (r6884): Another wrong last parametr :)
players.c
--- a/players.c	Sun Oct 22 15:13:48 2006 +0000
+++ b/players.c	Sun Oct 22 19:56:26 2006 +0000
@@ -445,7 +445,7 @@
 		FOR_ALL_PLAYERS(pp) {
 			if (pp->is_active && p != pp) {
 				SetDParam(0, pp->president_name_2);
-				GetString(buffer2, pp->president_name_1, lastof(buffer));
+				GetString(buffer2, pp->president_name_1, lastof(buffer2));
 				if (strcmp(buffer2, buffer) == 0)
 					goto restart;
 			}