projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a28c2f
)
fixed creating of new level subset again, because
author
Tobias Gläßer
<tobi.web@gmx.de>
Sun, 21 Mar 2004 18:07:37 +0000
(18:07 +0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Sun, 21 Mar 2004 18:07:37 +0000
(18:07 +0000)
CVS was deadly to the previous fix
SVN-Revision: 299
src/leveleditor.cpp
patch
|
blob
|
history
diff --git
a/src/leveleditor.cpp
b/src/leveleditor.cpp
index
c96e436
..
09b6b85
100644
(file)
--- a/
src/leveleditor.cpp
+++ b/
src/leveleditor.cpp
@@
-261,7
+261,7
@@
int leveleditor(int levelnb)
le_level = 1;
arrays_init();
loadshared();
- le_current_level =
(st_level*) malloc(sizeof(st_level))
;
+ le_current_level =
new st_level
;
if(level_load(le_current_level, le_level_subset.name.c_str(), le_level) != 0)
{
le_quit();