If you Edit the Source Don't use the game mode DDRace

This commit is contained in:
GreYFoXGTi 2011-02-08 18:35:48 +02:00
parent 55c368b679
commit c735384b52
3 changed files with 16 additions and 1 deletions

View file

@ -6,10 +6,11 @@
#include <game/server/player.h>
#include <game/server/gamecontext.h>
#include "DDRace.h"
#include "gamemode.h"
CGameControllerDDRace::CGameControllerDDRace(class CGameContext *pGameServer) : IGameController(pGameServer), m_Teams(pGameServer)
{
m_pGameType = "DDRace";
m_pGameType = GAME_NAME;
InitTeleporter();
}

View file

@ -0,0 +1,7 @@
/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
/* This is used for all NONE Official Builds of DDRace, if you changed the source in anyway change this to something other than DDRace*/
#ifndef GAME_MODE_H
#define GAME_MODE_H
#define GAME_NAME "TestDDRace"
#endif

View file

@ -0,0 +1,7 @@
/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
/* This is used for Official Builds of DDRace, if you change the source please don't use the name DDRace*/
#ifndef GAME_MODE_H
#define GAME_MODE_H
#define GAME_NAME "DDRace"
#endif