Skip to content
Permalink
Browse files

Set vehicle interiours to inside, not outside.

  • Loading branch information...
kevingranade committed Apr 7, 2013
1 parent de34f5b commit db8469599127e2e8260dd0a45663a634dc4bd675
Showing with 1 addition and 1 deletion.
  1. +1 −1 map.cpp
@@ -3532,7 +3532,7 @@ void map::build_map_cache(game *g)
int py = vehs[v].y + vehs[v].v->parts[*part].precalc_dy[0];
if(INBOUNDS(px, py)) {
if (vehs[v].v->is_inside(*part)) {
outside_cache[px][py] = true;
outside_cache[px][py] = false;
}
if (vehs[v].v->part_flag(*part, vpf_opaque) && vehs[v].v->parts[*part].hp > 0) {
int dpart = vehs[v].v->part_with_feature(*part , vpf_openable);

0 comments on commit db84695

Please sign in to comment.
You can’t perform that action at this time.