well if it is hitting random buttons, check you havent set some of the buttons it uses for other things to that of your use potion. like:
Char_Key_ClearScreen = SPACE
Char_Key_Switch = w
Char_Key_AutoMap = TAB
Char_Key_Inventory = i
Char_Key_ShowItems = ALT
Char_Key_PotionsRow1 = 1
Char_Key_PotionsRow2 = 2
Char_Key_PotionsRow3 = 3
Char_Key_PotionsRow4 = 4
Char_Key_ShowBelt = ~
you may have set two of these to the same thing.. or sumthing to do with this
Additional Comment:
btw, that was an example of one that didnt have two buttons set to the same thing
Char_Key_ClearScreen = SPACE
Char_Key_Switch = w
Char_Key_AutoMap = TAB
Char_Key_Inventory = i
Char_Key_ShowItems = ALT
Char_Key_PotionsRow1 = 1
Char_Key_PotionsRow2 = 2
Char_Key_PotionsRow3 = 3
Char_Key_PotionsRow4 = 4
Char_Key_ShowBelt = ~
you may have set two of these to the same thing.. or sumthing to do with this
Additional Comment:
btw, that was an example of one that didnt have two buttons set to the same thing