pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: Climber won't climb


From: Gervase Lam
Subject: Re: Bug: Climber won't climb
Date: Mon, 29 Mar 2004 23:39:33 +0100

> From: Rune Zedeler
> Subject: Bug: Climber won't climb
> Date: Monday 22 March 2004 20:21 pm

> The attached file shows a situation from hellmouth9-grumbel.plf. The
> pinguin is a climber and it /should/ be climbing the wall, not facing
> away. Building the bridge a few pixels higher solves the problem.

I think David has now fixed the problem.  Is that what the following code 
change is for David?

===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/actions/faller.cxx,v
retrieving revision 1.40
retrieving revision 1.40.2.1
diff -u -d -r1.40 -r1.40.2.1
--- faller.cxx  19 Apr 2003 10:23:18 -0000      1.40
+++ faller.cxx  27 Mar 2004 14:18:40 -0000      1.40.2.1
@@ -164,7 +164,7 @@
 bool
 Faller::change_allowed (ActionName new_action)
 {
-  return (new_action == Actions::Floater);
+  return new_action == Actions::Floater || new_action == Actions::Climber;
 }
 
 } // namespace Actions

Thanks,
Gervase.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]