Zero init the NhRect
This commit is contained in:
+1
-1
@@ -1196,7 +1196,7 @@ create_gas_cloud_selection(struct selectionvar *sel, int damage)
|
|||||||
NhRegion *cloud;
|
NhRegion *cloud;
|
||||||
NhRect tmprect;
|
NhRect tmprect;
|
||||||
coordxy x, y;
|
coordxy x, y;
|
||||||
NhRect r;
|
NhRect r = cg.zeroNhRect;
|
||||||
boolean inside_cloud = is_hero_inside_gas_cloud();
|
boolean inside_cloud = is_hero_inside_gas_cloud();
|
||||||
|
|
||||||
selection_getbounds(sel, &r);
|
selection_getbounds(sel, &r);
|
||||||
|
|||||||
Reference in New Issue
Block a user