~sylpheed74/cataclysm-dda/ru

« back to all changes in this revision

Viewing changes to src/map.cpp

  • Committer: Angela Graves
  • Date: 2015-08-06 05:22:19 UTC
  • mfrom: (5408.1.1)
  • Revision ID: git-v1:db1f4e2c84859d9aabcdab92df68a25979d4abee
Merge pull request #13190 from BevapDin/lop

Fixes vanishing vehicles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1167
1167
        veh->set_submap_moved( int( p2.x / SEEX ), int( p2.y / SEEY ) );
1168
1168
        dst_submap->vehicles.push_back( veh );
1169
1169
        src_submap->vehicles.erase( src_submap->vehicles.begin() + our_i );
 
1170
        dst_submap->is_uniform = false;
1170
1171
    }
1171
1172
 
1172
1173
    p = p2;