mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-04 22:40:05 +00:00
No need to unpack zero-length packet structs.
Also fixed formatting and added subheading to README.md.
This commit is contained in:
parent
14bc368073
commit
c1b6ae8466
@ -96,6 +96,7 @@ It's what's called a landwalker; enough of the server has been implemented to al
|
||||
|
||||
To make your landwalking experience more pleasant, you can make use of a few admin commands to get around easier:
|
||||
|
||||
### Movement commands
|
||||
* A `/speed` of around 2400 or 3000 is nice.
|
||||
* A `/jump` of about 50 will send you soaring
|
||||
* [This map](res/dong_number_map.png) (credit to Danny O) is useful for `/warp` coordinates.
|
||||
|
@ -590,7 +590,6 @@ void PlayerManager::revivePlayer(CNSocket* sock, CNPacketData* data) {
|
||||
}
|
||||
|
||||
void PlayerManager::enterPlayerVehicle(CNSocket* sock, CNPacketData* data) {
|
||||
sP_CL2FE_REQ_PC_VEHICLE_ON* vehicleData = (sP_CL2FE_REQ_PC_VEHICLE_ON*)data->buf;
|
||||
INITSTRUCT(sP_FE2CL_PC_VEHICLE_ON_SUCC, response);
|
||||
PlayerView plrv = PlayerManager::players[sock];
|
||||
|
||||
@ -608,7 +607,6 @@ void PlayerManager::enterPlayerVehicle(CNSocket* sock, CNPacketData* data) {
|
||||
}
|
||||
|
||||
void PlayerManager::exitPlayerVehicle(CNSocket* sock, CNPacketData* data) {
|
||||
sP_CL2FE_REQ_PC_VEHICLE_OFF* vehicleData = (sP_CL2FE_REQ_PC_VEHICLE_OFF*)data->buf;
|
||||
INITSTRUCT(sP_FE2CL_PC_VEHICLE_OFF_SUCC, response);
|
||||
PlayerView plrv = PlayerManager::players[sock];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user