Permalink
Browse files

vehicles: call act_on_map() on stopped vehicles

Give all vehicles a minimum amount of moves in gain_moves(), so that
act_on_map() will be called for every vehicle on the map.
  • Loading branch information...
mlangsdorf committed Dec 22, 2018
1 parent 23a690c commit 4316d6ed43251f42442d565abc820b9115844999
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/vehicle.cpp
@@ -4251,7 +4251,7 @@ void vehicle::gain_moves()
velocity -= vslowdown;
}
} else {
of_turn = 0;
of_turn = .001;
}
of_turn_carry = 0;

0 comments on commit 4316d6e

Please sign in to comment.