Fix for amb1343 - show_activity() had a messed up vformat() call

This commit is contained in:
Steve Dudenhoeffer 2008-03-04 19:18:17 +00:00
parent 69a8a86ff6
commit 16720a2f70

View File

@ -215,7 +215,7 @@ stock show_activity( id, const name[], const fmt[], any:... )
copy(prefix, charsmax(prefix), "PLAYER"); copy(prefix, charsmax(prefix), "PLAYER");
} }
new buffer[512]; new buffer[512];
vformat(buffer, charsmax(buffer), fmt, 3); vformat(buffer, charsmax(buffer), fmt, 4);
#endif #endif
switch(get_pcvar_num(__amx_show_activity)) switch(get_pcvar_num(__amx_show_activity))
{ {