fix for < gcc 3.34

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@35 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
arghvark
2005-08-23 20:44:26 +00:00
parent 50ed00160b
commit 6fa1617279
+1 -1
View File
@@ -357,7 +357,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
if (!player1->reloading && player1->gunselect!=GUN_KNIFE)
{
//draw_textf("%d", 690, 827, 2, player1->mag[player1->gunselect]);
char * gunstats;
char gunstats [64];
sprintf(gunstats,"%i/%i",player1->mag[player1->gunselect],player1->ammo[player1->gunselect]);
draw_text(gunstats, 690, 827, 2);
//clean up pointer?