plugins/adminmenu.sp
changeset 1525 bca151238f5e
parent 1523 417c14cb729a
child 1527 ca6db18e2abc
     1.1 --- a/plugins/adminmenu.sp	Tue Oct 02 14:42:38 2007 +0000
     1.2 +++ b/plugins/adminmenu.sp	Tue Oct 02 14:48:44 2007 +0000
     1.3 @@ -113,7 +113,7 @@
     1.4  						String:buffer[],
     1.5  						maxlength)
     1.6  {
     1.7 -	if (action == TopMenuAction_DrawTitle)
     1.8 +	if (action == TopMenuAction_DisplayTitle)
     1.9  	{
    1.10  		if (object_id == INVALID_TOPMENUOBJECT)
    1.11  		{
    1.12 @@ -132,7 +132,7 @@
    1.13  			Format(buffer, maxlength, "%T:", "Voting Commands", param);
    1.14  		}
    1.15  	}
    1.16 -	else if (action == TopMenuAction_DrawOption)
    1.17 +	else if (action == TopMenuAction_DisplayOption)
    1.18  	{
    1.19  		if (object_id == obj_playercmds)
    1.20  		{
    1.21 @@ -146,7 +146,6 @@
    1.22  		{
    1.23  			Format(buffer, maxlength, "%T", "Voting Commands", param);
    1.24  		}
    1.25 -		return ITEMDRAW_DEFAULT;
    1.26  	}
    1.27  	
    1.28  	return 0;