now allows you to teleport yourself (request by jpt10181)

This commit is contained in:
Christian Hammacher 2006-04-25 15:14:54 +00:00
parent 697f63f2e9
commit 96854aefa7

View File

@ -147,7 +147,7 @@ displayTelMenu(id, pos)
i = g_menuPlayers[id][a]
get_user_name(i, name, 31)
if (blockMenu || !is_user_alive(i) || (get_user_flags(i) & ADMIN_IMMUNITY))
if (blockMenu || !is_user_alive(i) || (id != i && get_user_flags(i) & ADMIN_IMMUNITY))
{
++b