1
0
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:
Zeno Rogue 2020-03-07 23:45:30 +01:00
parent 62c91688fc
commit 5f6eb39a9e

View File

@ -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;