Public bug reported:

A mistake in line 63 of the current src/TRoom.h assigns a new west exit
to a room to the southwest position rather than the west one, also
making it impossible to remove a west exit.  The fix is trivial to
correct I think :

diff a/src/TRoom.h b/src/TRoom.h
--- a/src/TRoom.h
+++ b/src/TRoom.h
@@ -58,11 +58,11 @@ public:
     int getSouthwest() { return southwest; }
     void setSouthwest( int id ) { southwest=id; }
     int getSoutheast() { return southeast; }
     void setSoutheast( int id ) { southeast=id; }
     int getWest() { return west; }
-    void setWest( int id ) { southwest=id; }
+    void setWest( int id ) { west=id; }
     int getEast() { return east; }
     void setEast( int id ) { east=id; }
     int getUp() { return up; }
     void setUp( int id ) { up=id; }
     int getDown() { return down; }
    void setWest( int id ) { southwest=id; }

The blame(?) process seems to pin it to:
commit 4e651d55fd7a73af24fe66ae3d85e9e5b13a1fc5
Author: Heiko Koehn <koehnhe...@googlemail.com>  Fri Mar 22 11:47:58 2013
"safe mapper"

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1170749

Title:
  Typo in TRoom.h makes it impossible to change map west exit

Status in Mudlet the MUD client:
  New

Bug description:
  A mistake in line 63 of the current src/TRoom.h assigns a new west
  exit to a room to the southwest position rather than the west one,
  also making it impossible to remove a west exit.  The fix is trivial
  to correct I think :

  diff a/src/TRoom.h b/src/TRoom.h
  --- a/src/TRoom.h
  +++ b/src/TRoom.h
  @@ -58,11 +58,11 @@ public:
       int getSouthwest() { return southwest; }
       void setSouthwest( int id ) { southwest=id; }
       int getSoutheast() { return southeast; }
       void setSoutheast( int id ) { southeast=id; }
       int getWest() { return west; }
  -    void setWest( int id ) { southwest=id; }
  +    void setWest( int id ) { west=id; }
       int getEast() { return east; }
       void setEast( int id ) { east=id; }
       int getUp() { return up; }
       void setUp( int id ) { up=id; }
       int getDown() { return down; }
      void setWest( int id ) { southwest=id; }

  The blame(?) process seems to pin it to:
  commit 4e651d55fd7a73af24fe66ae3d85e9e5b13a1fc5
  Author:       Heiko Koehn <koehnhe...@googlemail.com>  Fri Mar 22 11:47:58 
2013
  "safe mapper"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1170749/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mudlet-makers
Post to     : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp

Reply via email to