From de30d647d46abd7de297df606278fea47903b549 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Sat, 4 Sep 2004 17:50:03 +0000 Subject: [PATCH] added the %c formatting sequence (untested) --- amxmodx/CLang.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amxmodx/CLang.cpp b/amxmodx/CLang.cpp index 3df81bf8..ce01fee6 100755 --- a/amxmodx/CLang.cpp +++ b/amxmodx/CLang.cpp @@ -626,6 +626,7 @@ char * CLangMngr::FormatAmxString(AMX *amx, cell *params, int parm, int &len) } case 'i': case 'd': + case 'c': { NEXT_PARAM(); sprintf(outptr, format, (int)*get_amxaddr(amx, params[parm++])); @@ -710,6 +711,7 @@ char * CLangMngr::FormatAmxString(AMX *amx, cell *params, int parm, int &len) } case 'i': case 'd': + case 'c': { NEXT_PARAM(); sprintf(outptr, format, (int)*get_amxaddr(amx, params[parm++]));