|
@ -185,7 +185,7 @@ pub fn update_player_position(id: ClientId, |
|
|
GameMessage::PlayerWalking(p) => {client.x = p.x; client.z = p.z;},
|
|
|
GameMessage::PlayerWalking(p) => {client.x = p.x; client.z = p.z;},
|
|
|
GameMessage::PlayerRunning(p) => {client.x = p.x; client.z = p.z;},
|
|
|
GameMessage::PlayerRunning(p) => {client.x = p.x; client.z = p.z;},
|
|
|
GameMessage::PlayerWarped(p) => {client.x = p.x; client.y = p.y;},
|
|
|
GameMessage::PlayerWarped(p) => {client.x = p.x; client.y = p.y;},
|
|
|
GameMessage::PlayerChangedFloor(p) => {client.area = MapArea::from_value(&room.mode.episode(), p.map).ok();},
|
|
|
|
|
|
|
|
|
// GameMessage::PlayerChangedFloor(p) => {client.area = MapArea::from_value(&room.mode.episode(), p.map).ok();},
|
|
|
GameMessage::InitializeSpeechNpc(p) => {client.x = p.x; client.z = p.z;}
|
|
|
GameMessage::InitializeSpeechNpc(p) => {client.x = p.x; client.z = p.z;}
|
|
|
_ => {},
|
|
|
_ => {},
|
|
|
}
|
|
|
}
|
|
|