, pitch(0.0f)
, yaw(0.0f)
, dirty(true)
-, active_slot(0)
, place_timer(256)
, remove_timer(256) {
// nothing
}
-void DirectInput::SelectInventory(int) {
+void DirectInput::SelectInventory(int i) {
+ player.SetInventorySlot(i);
}
void DirectInput::UpdatePlayer() {
while (slot < 0) {
slot += num_slots;
}
+ player_ctrl.SelectInventory(slot);
}
void Interface::InvRel(int delta) {