1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

ray:: added reset_raycaster_map() function

This commit is contained in:
Zeno Rogue 2021-04-30 19:45:34 +02:00
parent 6e94d7346e
commit 1d2b0cf245

View File

@ -1682,6 +1682,10 @@ EX void reset_raycaster() {
rots::saved_matrices_ray = {};
}
EX void reset_raycaster_map() {
rmap = nullptr;
}
EX void cast() {
// may call itself recursively in case of bugs -- just in case...
dynamicval<int> dn(nesting, nesting+1);