projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bugfix: its finally possible to open a levelsubset.
[supertux.git]
/
src
/
sector.cpp
diff --git
a/src/sector.cpp
b/src/sector.cpp
index
017eff7
..
316b22f
100644
(file)
--- a/
src/sector.cpp
+++ b/
src/sector.cpp
@@
-756,6
+756,12
@@
Sector::add_particles(const Vector& epicenter, const Vector& velocity, const Vec
return true;
}
+void
+Sector::add_floating_text(const Vector& pos, const std::string& text)
+{
+ add_object(new FloatingText(pos, text));
+}
+
/* Break a brick: */
bool
Sector::trybreakbrick(const Vector& pos, bool small)