]> code.citadel.org Git - citadel.git/commitdiff
Another zap tweak: After zapping a room the user is taken directly to the
authorSteve Williams <patriot@uncensored.citadel.org>
Thu, 11 Nov 1999 05:41:38 +0000 (05:41 +0000)
committerSteve Williams <patriot@uncensored.citadel.org>
Thu, 11 Nov 1999 05:41:38 +0000 (05:41 +0000)
Lobby> and has to hit 'goto' to get to the next room.

daphne/ChangeLog
daphne/roomview.cpp

index 252cc97691defdec717e9d5c1c00cc443c403546..7490be3f1a1f7a4adb7889fc5eebde86a09b707c 100644 (file)
@@ -1,4 +1,8 @@
-$Log$
+ $Log$
+ Revision 1.7  1999/11/11 05:41:38  smw
+ Another zap tweak:  After zapping a room the user is taken directly to the
+ Lobby> and has to hit 'goto' to get to the next room.
+
 Revision 1.6  1999/11/11 05:04:57  smw
 Made a slight tweak to the default size of the button bar in roomview.cpp.
 All the buttons (including the new 'zap' button) should show up by
index 2710c82fea1dd313da956c48ca74036f68970dde..98856fcb4329d4801471a5411873c3999b4676d4 100644 (file)
@@ -242,10 +242,9 @@ void RoomView::OnButtonPressed(wxCommandEvent& whichbutton) {
        } else if (whichbutton.GetId() == BUTTON_ZAP) {
                sendcmd = "FORG";               //Zap (forget) room
                citsock->serv_trans(sendcmd, recvcmd, xferbuf, ThisRoom);
-               new RoomView(citsock, citMyMDI, RoomList->GetNextRoom());
-               delete this;
-               RoomList->DeleteAllItems();
+               new RoomView(citsock, citMyMDI, "_BASEROOM_"); 
                RoomList->LoadRoomList();
+               delete this;
        }
 }