From e46fd6f1c742f11edfe6e7bb063cbe52c708250c Mon Sep 17 00:00:00 2001
From: Xabier de Zuazo <xabier@onddo.com>
Date: Sun, 7 Jul 2013 19:15:39 +0200
Subject: [PATCH] packet 0x27: leash from int to ubyte

---
 lib/protocol.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/protocol.js b/lib/protocol.js
index 192bcc5..1bdf32d 100644
--- a/lib/protocol.js
+++ b/lib/protocol.js
@@ -237,7 +237,7 @@ var packets = {
   0x27: [
     { name: "entityId", type: "int" },
     { name: "vehicleId", type: "int" },
-    { name: "leash", type: "int" }
+    { name: "leash", type: "ubyte" }
   ],
   0x28: [
     { name: "entityId", type: "int" },