Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Mine
2010 year 3 month 21 day Sunday 18:41:17 MDT 

  1. From 6b7a5d58358b69d6d3511f2a7462c071517c748b Mon Sep 17 00:00:00 2001
  2. From: Chuck Miller <shadowmil@gmail.com>
  3. Date: Sun, 21 Mar 2010 20:40:17 -0400
  4. Subject: [PATCH] Fix crash when no old party is set for a player
  5.  
  6. ---
  7.  src/player.cpp |    2 +-
  8.  1 files changed, 1 insertions(+), 1 deletions(-)
  9.  
  10. diff --git a/src/player.cpp b/src/player.cpp
  11. index dfe45e6..ad8c1db 100644
  12. --- a/src/player.cpp
  13. +++ b/src/player.cpp
  14. @@ -298,7 +298,7 @@ void Player::setParty(Party *party)
  15.  
  16.      if (old)
  17.      {
  18. -        party->removeMember(mId);
  19. +        old->removeMember(mId);
  20.      }
  21.  
  22.      if (party)
  23. --
  24. 1.6.3.3

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

fantasy-obligation
fantasy-obligation