git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3477 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Magnus 2009-11-24 14:26:18 +00:00
parent 2b8b589b26
commit fb59b34956

View file

@ -1229,7 +1229,7 @@ float(float eventtype, float param1, float param2) CSQC_InputEvent =
{
if (showcontextmenu && show_inventory)
{
op = ceil((mousepos_y - contextpos_y)/(8*(scrwidth/640)));
op = floor((mousepos_y - contextpos_y)/(8*(scrwidth/640)));
if (op == 0)
localcmd(strcat("cmd invuse ", ftos(slotnum), "\n"));