(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
This commit is contained in:
@@ -1352,8 +1352,8 @@ Vehicle *CreateEffectVehicle(int x, int y, int z, EffectVehicle type)
|
||||
|
||||
Vehicle *CreateEffectVehicleAbove(int x, int y, int z, EffectVehicle type)
|
||||
{
|
||||
int safe_x = clamp(x, 0, MapMaxX() * TILE_SIZE);
|
||||
int safe_y = clamp(y, 0, MapMaxY() * TILE_SIZE);
|
||||
int safe_x = Clamp(x, 0, MapMaxX() * TILE_SIZE);
|
||||
int safe_y = Clamp(y, 0, MapMaxY() * TILE_SIZE);
|
||||
return CreateEffectVehicle(x, y, GetSlopeZ(safe_x, safe_y) + z, type);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user