Move gnprintf/atcprintf from core to logic.

This commit is contained in:
David Anderson
2015-08-30 19:32:46 -07:00
parent 9d2bee261c
commit e78fe93e92
15 changed files with 1373 additions and 1265 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
/**
* vim: set ts=4 :
* vim: set ts=4 sw=4 tw=99 noet :
* =============================================================================
* SourceMod
* Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved.
@@ -32,6 +32,7 @@
#include "common_logic.h"
#include "PhraseCollection.h"
#include "Translator.h"
#include "sprintf.h"
#include <am-string.h>
CPhraseCollection::CPhraseCollection()
@@ -114,7 +115,7 @@ bool CPhraseCollection::FormatString(char *buffer,
unsigned int arg;
arg = 0;
if (!smcore.gnprintf(buffer, maxlength, format, this, params, numparams, arg, pOutLength, pFailPhrase))
if (!gnprintf(buffer, maxlength, format, this, params, numparams, arg, pOutLength, pFailPhrase))
{
return false;
}