Skip to content

Commit

Permalink
sim: fix crash on area repair order with radius larger than approx 4600
Browse files Browse the repository at this point in the history
  • Loading branch information
tvo committed Nov 19, 2009
1 parent 87be750 commit f0d7b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Sim/Misc/QuadField.cpp
Expand Up @@ -63,7 +63,7 @@ CQuadField::CQuadField()

baseQuads.resize(numQuadsX * numQuadsZ);

tempQuads = new int[1000];
tempQuads = new int[numQuadsX * numQuadsZ];
}

CQuadField::~CQuadField()
Expand Down

0 comments on commit f0d7b04

Please sign in to comment.