Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Merge pull request #286 from abesto/send-map
Browse files Browse the repository at this point in the history
Added Send to Map
  • Loading branch information
tomassedovic authored Jun 9, 2019
2 parents fdc024d + e64bf04 commit 16b3820
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ impl Drop for Map {
}
}

// ! libtcod is not thread-safe, this may have some side effects but none have been seen yet
// ! This is primary so that Map can be used as specs resources
unsafe impl Send for Map {}

#[repr(u32)]
#[derive(Copy, Clone, Debug)]
pub enum FovAlgorithm {
Expand Down

0 comments on commit 16b3820

Please sign in to comment.