Repositories
/
curblaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d038768
)
Made forward-viewable area more sensible
author
limb
<limb@bc5cbbab-a4ec-0310-bb52-ff3d296db539>
Mon, 27 Nov 2006 19:31:40 +0000
(19:31 +0000)
committer
limb
<limb@bc5cbbab-a4ec-0310-bb52-ff3d296db539>
Mon, 27 Nov 2006 19:31:40 +0000
(19:31 +0000)
git-svn-id: svn+ssh://svn/var/repos/curfender@538
bc5cbbab
-a4ec-0310-bb52-
ff3d296db539
main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/main.cpp
b/main.cpp
index
2eb8eb1
..
3a69892
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-104,10
+104,10
@@
game_object process_direction(game_object object, int input){
int draw_object(game_object object, int drawlocation){
if(object.number==1){
- if((object.y-drawlocation<
5
) and (object.direction==4)){
+ if((object.y-drawlocation<
30
) and (object.direction==4)){
drawlocation=drawlocation-object.speed;
};
- if((object.y-drawlocation>
70
) and (object.direction==6)){
+ if((object.y-drawlocation>
45
) and (object.direction==6)){
drawlocation=drawlocation+object.speed;
};
};