0dbc01a290
- Stage support - Fix build with clang PR: 192546 Submitted by: Vladimir Kondratiev <wulf@cicgroup.ru>
10 lines
429 B
C++
10 lines
429 B
C++
--- board.cc.orig Tue Jul 18 11:03:22 1995
|
|
+++ board.cc Mon Mar 10 20:52:04 2008
|
|
@@ -527,6 +527,7 @@
|
|
void Board::sprite(DynamicElement *g) { //let dynamicelement be a sprite
|
|
liststruct *temp=0,*last=0; //resets to null
|
|
liststruct *ny=new liststruct; //get a new liststruct
|
|
+ ny->next = 0;
|
|
ny->g=g; //get pointer to element
|
|
ny->gid=g->getgid(); //get it's grafical id
|
|
g->getxy(&ny->x,&ny->y); //and coordinates
|