Fix several more warnings
- As a side-effect, weapons with key skills other than the conventional three (edged, bashing, pole) are now fully supported (though the scenario editor UI doesn't yet support them)
This commit is contained in:
@@ -432,7 +432,6 @@ bool handle_action(location the_point,sf::Event /*event*/) {
|
||||
i = (the_point.x - TER_RECT_UL_X - 8) / scale;
|
||||
j = (the_point.y - TER_RECT_UL_Y - 8) / scale;
|
||||
if(scale > 4) {
|
||||
short dim = editing_town ? town->max_dim() : 48;
|
||||
if(cen_x + 5 > 256 / scale)
|
||||
spot_hit.x = cen_x + 5 - 256/scale + i;
|
||||
else spot_hit.x = i;
|
||||
|
Reference in New Issue
Block a user