projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the ever-elusive crash when using lightmaps: Discard all lightmap requests...
[supertux.git]
/
src
/
refcounter.hpp
diff --git
a/src/refcounter.hpp
b/src/refcounter.hpp
index
0a56b06
..
e810efe
100644
(file)
--- a/
src/refcounter.hpp
+++ b/
src/refcounter.hpp
@@
-44,7
+44,6
@@
public:
refcount--;
if(refcount <= 0) {
delete this;
refcount--;
if(refcount <= 0) {
delete this;
- return;
}
}
}
}