Zero init the NhRect

This commit is contained in:
Pasi Kallinen
2024-01-19 18:19:56 +02:00
parent 2212cf27ec
commit ce34239885
+1 -1
View File
@@ -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);