projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094692f
)
Reduced spawn distance for enemies to screen size (experimental change, if something...
author
Ingo Ruhnke
<grumbel@gmx.de>
Wed, 10 Mar 2010 08:25:20 +0000
(08:25 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Wed, 10 Mar 2010 08:25:20 +0000
(08:25 +0000)
SVN-Revision: 6591
src/badguy/badguy.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/badguy.cpp
b/src/badguy/badguy.cpp
index
b5d895f
..
46c0d70
100644
(file)
--- a/
src/badguy/badguy.cpp
+++ b/
src/badguy/badguy.cpp
@@
-29,8
+29,8
@@
static const float SQUISH_TIME = 2;
-static const float X_OFFSCREEN_DISTANCE = 1
60
0;
-static const float Y_OFFSCREEN_DISTANCE =
12
00;
+static const float X_OFFSCREEN_DISTANCE = 1
28
0;
+static const float Y_OFFSCREEN_DISTANCE =
8
00;
BadGuy::BadGuy(const Vector& pos, const std::string& sprite_name, int layer) :
MovingSprite(pos, sprite_name, layer, COLGROUP_DISABLED),