no tabs in code!

This commit is contained in:
jeefo 2015-12-30 09:19:05 +03:00
commit d991030145
3 changed files with 11 additions and 11 deletions

View file

@ -3017,17 +3017,17 @@ DLL_GIVEFNPTRSTODLL GiveFnptrsToDll (enginefuncs_t *functionTable, globalvars_t
// register our cvars
convars.PushRegisteredConVarsToEngine ();
// ensure data & learned directory are created (as we can download waypoints from the net)
const char *path = GetWaypointDir ();
// ensure data & learned directory are created (as we can download waypoints from the net)
const char *path = GetWaypointDir ();
// ensure data path exists
CreatePath (const_cast <char *> (path));
// ensure data path exists
CreatePath (const_cast <char *> (path));
char learnedPath[256];
snprintf (learnedPath, SIZEOF_CHAR (learnedPath), "%s/learned", path);
char learnedPath[256];
snprintf (learnedPath, SIZEOF_CHAR (learnedPath), "%s/learned", path);
// ensure data/learned path exists
CreatePath (learnedPath);
// ensure data/learned path exists
CreatePath (learnedPath);
#ifdef PLATFORM_ANDROID
g_gameVersion = CSV_OLD; // temporary, until opensource client dll get BotVoice message

View file

@ -960,7 +960,7 @@ extern bool OpenConfig(const char *fileName, const char *errorIfNotExists, File
const char *GetWaypointDir (void)
{
return FormatBuffer ("%s/addons/yapb/data/", GetModName ());
return FormatBuffer ("%s/addons/yapb/data/", GetModName ());
}
extern void RegisterCommand(const char *command, void funcPtr (void))