All pastes #457673 Raw Edit

Anonymous

public text v1 · immutable
#457673 ·published 2007-04-25 15:02 UTC
rendered paste body
Index: src/dimension.cpp
===================================================================
--- src/dimension.cpp   (revision 866)
+++ src/dimension.cpp   (arbetskopia)
@@ -361,15 +361,15 @@
                        }
                        else
                        {
-                               AddPlayer("GAIA", PLAYER_TYPE_GAIA, "resources/textures/player_gaia.png");
+                               AddPlayer("GAIA", PLAYER_TYPE_REMOTE, "resources/textures/player_gaia.png");
                        }
                        
                        PlayerType next_type;
                        
                        if (human == NULL)
-                               next_type = PLAYER_TYPE_HUMAN;
+                               next_type = PLAYER_TYPE_REMOTE;
                        else
-                               next_type = PLAYER_TYPE_AI;
+                               next_type = PLAYER_TYPE_REMOTE;
                        
                        for (unsigned i = 1; i <= players_to_init; i++)
                        {
@@ -378,10 +378,10 @@
                                sprintf(texture, "resources/textures/player_%d.png", color);
                                sprintf(player, "player_%d", players_initialized + i);
                                Player* p = AddPlayer(player, next_type, texture);
-                               if (next_type == PLAYER_TYPE_HUMAN)
+                               if (next_type == PLAYER_TYPE_REMOTE)
                                {
                                        human = p;
-                                       next_type = PLAYER_TYPE_AI;
+                                       next_type = PLAYER_TYPE_REMOTE;
                                }
                                
                                color++;