From c5165ea884919845f2a7737ea1afbe3e1d3fbe60 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 3 Jan 2004 22:36:14 +0000 Subject: [PATCH] Fix teleport bug. --- ski | 2 +- ski.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ski b/ski index 4dff59d..d2916dd 100755 --- a/ski +++ b/ski @@ -439,7 +439,7 @@ class SkiPlayer: if percent(PROB_BAD_TELEPORT): self.__accident("You materialized 25 feet in the air!", SLIGHT_INJURY) - world.player_pos = self.teleport() + world.player_pos = world.teleport() break elif cmd == 'I': # Launch backpack ICBM if percent(PROB_BAD_ICBM): diff --git a/ski.spec b/ski.spec index 08df6db..4cfc656 100644 --- a/ski.spec +++ b/ski.spec @@ -1,5 +1,5 @@ Name: ski -Version: 6.2 +Version: 6.3 Release: 1 URL: http://www.catb.org/~esr/ski/ Source0: %{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ cp ski.6 "$RPM_BUILD_ROOT"%{_mandir}/man6/ %{_bindir}/ski %changelog +* Sat Jan 3 2004 Eric S. Raymond 6.3-1 +- Fix bug introduced to teleport command in 6.2. + * Tue Dec 31 2003 Eric S. Raymond 6.2 - Emit reset on keyboard interrupt, just in case user bails out in the middle af a row refresh. Fix bug in ! command interpretation. -- 2.43.0