mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
If you Edit the Source Don't use the game mode DDRace
This commit is contained in:
parent
55c368b679
commit
c735384b52
|
@ -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();
|
||||
}
|
||||
|
|
7
src/game/server/gamemodes/gamemode.h
Normal file
7
src/game/server/gamemodes/gamemode.h
Normal 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
|
7
src/game/server/gamemodes/gamemode.h.official
Normal file
7
src/game/server/gamemodes/gamemode.h.official
Normal 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
|
Loading…
Reference in a new issue