git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3477 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2b8b589b26
commit
fb59b34956
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue