stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/editor editloop.c


From: Jimmy Salmon
Subject: [Stratagus-CVS] stratagus/src/editor editloop.c
Date: Fri, 17 Oct 2003 12:17:13 -0400

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Jimmy Salmon <address@hidden>   03/10/17 12:17:12

Modified files:
        src/editor     : editloop.c 

Log message:
        Fixed player color bug

Patches:
Index: stratagus/src/editor/editloop.c
diff -u stratagus/src/editor/editloop.c:1.134 
stratagus/src/editor/editloop.c:1.135
--- stratagus/src/editor/editloop.c:1.134       Thu Oct 16 21:23:09 2003
+++ stratagus/src/editor/editloop.c     Fri Oct 17 12:17:11 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: editloop.c,v 1.134 2003/10/17 01:23:09 jsalmon3 Exp $
+//     $Id: editloop.c,v 1.135 2003/10/17 16:17:11 jsalmon3 Exp $
 
 //@{
 
@@ -512,7 +512,7 @@
            y += 20;
        }
        if (i == CursorPlayer && TheMap.Info->PlayerType[i] != PlayerNobody) {
-           VideoDrawRectangle(ColorWhite,x + i % 8 * 20, y, 20, 20);
+           VideoDrawRectangle(ColorWhite, x + i % 8 * 20, y, 20, 20);
        }
        VideoDrawRectangle(
            i == CursorPlayer && TheMap.Info->PlayerType[i] != PlayerNobody ?
@@ -1831,6 +1831,7 @@
        //
        TheMap.Info->MapTerrainName =
            strdup(Tilesets[TheMap.Info->MapTerrain]->Ident);
+       InitPlayers();
        for (i = 0; i < PlayerMax; ++i) {
            if (i == PlayerNumNeutral) {
                CreatePlayer(PlayerNeutral);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]