projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bugfix (use private variable instead of class member)
[supertux.git]
/
src
/
supertux
/
sector.cpp
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;