index 57d53c989550f8f3f53ba0b2bf255d736f5cea82..a1b9b6feda29f39b78307cbedc888586d0b81529 100644 (file)
--- a/src/game/g_netmaster.pas
+++ b/src/game/g_netmaster.pas
if SL = nil then Exit;
if SL = nil then Exit;
- if e_KeyPressed(IK_RETURN) then
+ if e_KeyPressed(IK_RETURN) or e_KeyPressed(IK_KPRETURN) then
begin
if not slReturnPressed then
begin
begin
if not slReturnPressed then
begin
else
slReturnPressed := False;
else
slReturnPressed := False;
- if e_KeyPressed(IK_DOWN) then
+ if e_KeyPressed(IK_DOWN) or e_KeyPressed(IK_KPDOWN) then
begin
if not slDirPressed then
begin
begin
if not slDirPressed then
begin
slDirPressed := True;
end;
end;
slDirPressed := True;
end;
end;
-
- if e_KeyPressed(IK_UP) then
+
+ if e_KeyPressed(IK_UP) or e_KeyPressed(IK_KPUP) then
begin
if not slDirPressed then
begin
begin
if not slDirPressed then
begin
end;
end;
end;
end;
- if (not e_KeyPressed(IK_DOWN)) and (not e_KeyPressed(IK_UP)) then
+ if (not e_KeyPressed(IK_DOWN)) and (not e_KeyPressed(IK_UP)) and (not e_KeyPressed(IK_KPDOWN)) and (not e_KeyPressed(IK_KPUP)) then
slDirPressed := False;
end;
slDirPressed := False;
end;