]> thyrsus.com Git - ski.git/commitdiff
Fix teleport bug.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 3 Jan 2004 22:36:14 +0000 (22:36 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 3 Jan 2004 22:36:14 +0000 (22:36 +0000)
ski
ski.spec

diff --git a/ski b/ski
index 4dff59d7e6cea69673c5d29f9da5eea567737d0e..d2916ddc01e9d2638eeeefce56716ec589b4472a 100755 (executable)
--- 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):
index 08df6db727857cc509e5753f5bc0056cf5506d15..4cfc65686a9275abb7f3e20796872c4762d8f6a0 100644 (file)
--- 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 <esr@snark.thyrsus.com> 6.3-1
+- Fix bug introduced to teleport command in 6.2.
+
 * Tue Dec 31 2003 Eric S. Raymond <esr@snark.thyrsus.com> 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.