]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/bot/scripting.qc
Get VoreTournament code to compile with gmqcc. To be compiled with the same parameter...
[voretournament/voretournament.git] / data / qcsrc / server / bot / scripting.qc
index ca7e37ecfc1327c047bdaff64f17638d19b130c4..20229da3a316d1303a5a2cc3970ac216fc1cf0c6 100644 (file)
@@ -67,12 +67,13 @@ float bot_havecommand(entity bot, float idx)
 .string bot_placenames[MAX_BOT_PLACES];
 entity bot_getplace(string placename)
 {
+       string s;
        entity e;
        if(substring(placename, 0, 1) == "@")
        {
                float i, p;
                placename = substring(placename, 1, -1);
-               string s, s2;
+               string s2;
                for(i = 0; i < self.bot_places_count; ++i)
                        if(self.(bot_placenames[i]) == placename)
                                return self.(bot_places[i]);