Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 77634 | Differences between
and this patch

Collapse All | Expand All

(-)src/buildinglayer.cpp.orig (-1 / +1 lines)
Lines 45-51 Link Here
45
45
46
   // initialization of the table of pointer of Structure
46
   // initialization of the table of pointer of Structure
47
	OC_UINT citySurface = this->uiLayerHeight * this->uiLayerWidth;
47
	OC_UINT citySurface = this->uiLayerHeight * this->uiLayerWidth;
48
	this->tabpStructure = new (Structure*)[citySurface];
48
	this->tabpStructure = new Structure*[citySurface];
49
	for ( OC_UINT counter = 0; counter < citySurface; counter++ ) {
49
	for ( OC_UINT counter = 0; counter < citySurface; counter++ ) {
50
		tabpStructure[ counter ] = NULL;
50
		tabpStructure[ counter ] = NULL;
51
	}
51
	}

Return to bug 77634