projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved frozen behavior.
[supertux.git]
/
src
/
collision.cpp
diff --git
a/src/collision.cpp
b/src/collision.cpp
index
2f41fed
..
2466d8c
100644
(file)
--- a/
src/collision.cpp
+++ b/
src/collision.cpp
@@
-44,6
+44,9
@@
bool rectcollision_offset(const base_type& one, const base_type& two, float off_
bool collision_object_map(const base_type& base)
{
+ if(!World::current())
+ return false;
+
const Level& level = *World::current()->get_level();
TileManager& tilemanager = *TileManager::instance();