netpanzer-cvs
[Top][All Lists]
Advanced

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

[netPanzer-CVS] netpanzer/src/NetPanzer/Classes WorldInputCmdPr...


From: Hankin Chick
Subject: [netPanzer-CVS] netpanzer/src/NetPanzer/Classes WorldInputCmdPr...
Date: Sat, 22 Nov 2003 04:18:47 -0500

CVSROOT:        /cvsroot/netpanzer
Module name:    netpanzer
Branch:         
Changes by:     Hankin Chick <address@hidden>   03/11/22 04:18:47

Modified files:
        src/NetPanzer/Classes: WorldInputCmdProcessor.cpp 

Log message:
        putting back an older patch

Patches:
Index: netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp
diff -u netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.28 
netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.29
--- netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.28     Fri Nov 
21 09:23:55 2003
+++ netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp  Sat Nov 22 
04:18:46 2003
@@ -156,6 +156,12 @@
         return;
     }
 
+    if(((bool)gameconfig->fullscreen)!=true) {
+        // don't do border scrolling on windowed mode because
+        //  the window isn't always on the edge of the screen.
+        return;
+    }
+
     if(mouse_pos.x >= (screen_size.x - 1)) {
         WorldViewInterface::scroll_right(scroll_increment);
     }




reply via email to

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