mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-03 12:49:17 +00:00
export void teleportTo
This commit is contained in:
parent
62c91688fc
commit
5f6eb39a9e
2
orbs.cpp
2
orbs.cpp
@ -553,7 +553,7 @@ int teleportAction() {
|
|||||||
else return 2;
|
else return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
void teleportTo(cell *dest) {
|
EX void teleportTo(cell *dest) {
|
||||||
playSound(dest, "other-teleport");
|
playSound(dest, "other-teleport");
|
||||||
if(dest->monst) {
|
if(dest->monst) {
|
||||||
cwt.at->monst = dest->monst;
|
cwt.at->monst = dest->monst;
|
||||||
|
Loading…
Reference in New Issue
Block a user