Fixed crash due to bad constructor for QuestDirectorMan0L001. Unsigned integers will also write out as lua 0-datatype.

This commit is contained in:
Filip Maj committed 2016-04-11 22:49:05 -04:00
1 parent fe111ab6ca
commit 108f5aa677
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -121,7 +121,11 @@ namespace FFXIVClassic_Map_Server
{
foreach (LuaParam l in luaParams)
{
writer.Write((Byte)l.typeID);
if (l.typeID == 0x1)
writer.Write((Byte)0);
else
writer.Write((Byte)l.typeID);
switch (l.typeID)
{
case 0x0: //Int32