diff options
| author | Ray Hogenson <rayhogenson@gmail.com> | 2012-02-25 22:47:55 -0900 |
|---|---|---|
| committer | Ray Hogenson <rayhogenson@gmail.com> | 2012-02-25 22:47:55 -0900 |
| commit | a6d0d135c1c1b248468577af447fbeb52b9267f1 (patch) | |
| tree | 7e9c3a7cc0e4ece10ea160f52d2f7e3af901b2d3 /src | |
| parent | b4049ce5686f16187d8b32d3107600b8c7671ab2 (diff) | |
| download | yetihack-a6d0d135c1c1b248468577af447fbeb52b9267f1.tar.zst | |
fixed immortality bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 4 | ||||
| -rw-r--r-- | src/YetiHack.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index 4dd3f89..4c36df5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,8 +2,8 @@ yetihack: YetiHack.o yeti.o g++ -o yetihack YetiHack.o yeti.o -lncurses YetiHack.o: YetiHack.cpp - g++ -I../include -o YetiHack.o -c YetiHack.cpp + g++ -g -I../include -o YetiHack.o -c YetiHack.cpp yeti.o: yeti.cpp - g++ -I../include -o yeti.o -c yeti.cpp + g++ -g -I../include -o yeti.o -c yeti.cpp diff --git a/src/YetiHack.cpp b/src/YetiHack.cpp index 59c6fc5..01c9503 100644 --- a/src/YetiHack.cpp +++ b/src/YetiHack.cpp @@ -282,7 +282,7 @@ bool smessage(int num, string message) refresh(); getch(); erase(); - if (start(true, true, num) == 1) + if (start(false, true, num) == 1) { erase(); addstr("You died!"); |
