Move 4 char name fix to patches.cpp
This commit is contained in:
parent
c796aea416
commit
0483ee2bd6
@ -291,9 +291,6 @@ namespace network
|
|||||||
|
|
||||||
// Set cl_maxpackets to 100
|
// Set cl_maxpackets to 100
|
||||||
utils::hook::set<uint8_t>(game::select(0x1412FF342, 0x140177A32), 100 - 15);
|
utils::hook::set<uint8_t>(game::select(0x1412FF342, 0x140177A32), 100 - 15);
|
||||||
|
|
||||||
// Change 4 character name limit to 2 characters
|
|
||||||
utils::hook::set<uint8_t>(game::select(0x14224DBB4, 0x1405312A8), 0x02);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,9 @@ namespace patches
|
|||||||
{
|
{
|
||||||
// don't make script errors fatal error
|
// don't make script errors fatal error
|
||||||
utils::hook::call(game::select(0x1412CAC4D, 0x140158EB2), script_errors_stub);
|
utils::hook::call(game::select(0x1412CAC4D, 0x140158EB2), script_errors_stub);
|
||||||
|
|
||||||
|
// Change 4 character name limit to 3 characters
|
||||||
|
utils::hook::set<uint8_t>(game::select(0x14224DBB4, 0x1405312A8), 3);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user