projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16d8d6d
)
Bugfix (use private variable instead of class member)
author
Tobias Markus
<tobbi@mozilla-uk.org>
Mon, 6 Oct 2014 22:21:50 +0000
(
00:21
+0200)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Mon, 6 Oct 2014 22:21:50 +0000
(
00:21
+0200)
src/supertux/sector.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/sector.cpp
b/src/supertux/sector.cpp
index
b5c7580
..
efc5ff8
100644
(file)
--- a/
src/supertux/sector.cpp
+++ b/
src/supertux/sector.cpp
@@
-662,7
+662,7
@@
Sector::calculate_foremost_layer()
if (!tm) continue;
if(tm->get_layer() > foremost_layer)
{
-
foremost_
layer = tm->get_layer();
+ layer = tm->get_layer();
}
}
return layer;