projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set game.newloc when reincarnated. Fixes a bug.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index 200c77ebc3d0bf4a541e3c206e6571a2a8d74f80..7e165a70040e3c8047f6eac763f65eab257b859b 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-501,8
+501,7
@@
static void croak(void)
drop(i, (i == LAMP) ? LOC_START : game.oldlc2);
}
}
- game.loc = LOC_BUILDING;
- game.oldloc = game.loc;
+ game.oldloc = game.loc = game.newloc = LOC_BUILDING;
}
}