[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src display.cpp
From: |
David White |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src display.cpp |
Date: |
Sat, 02 Oct 2004 12:23:12 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 04/10/02 16:16:34
Modified files:
src : display.cpp
Log message:
fixed bug where pressing 'shift' while scrolling to your leader would
halt scrolling
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/display.cpp.diff?tr1=1.262&tr2=1.263&r1=text&r2=text
Patches:
Index: wesnoth/src/display.cpp
diff -u wesnoth/src/display.cpp:1.262 wesnoth/src/display.cpp:1.263
--- wesnoth/src/display.cpp:1.262 Sat Sep 25 19:46:33 2004
+++ wesnoth/src/display.cpp Sat Oct 2 16:16:34 2004
@@ -1,4 +1,4 @@
-/* $Id: display.cpp,v 1.262 2004/09/25 19:46:33 ydirson Exp $ */
+/* $Id: display.cpp,v 1.263 2004/10/02 16:16:34 Sirp Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -401,12 +401,13 @@
for(int i = 0; i != num_moves; ++i) {
events::pump();
+ scroll(xmove/num_moves,ymove/num_moves);
+
//accelerate scroll rate if either shift key is held down
if((i%4) != 0 && i != num_moves-1 && turbo()) {
continue;
}
- scroll(xmove/num_moves,ymove/num_moves);
draw();
}
- [Wesnoth-cvs-commits] wesnoth/src display.cpp,
David White <=