mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Two small fixes.
This commit is contained in:
parent
13c5216373
commit
44d0408a38
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ global zoom
|
|||
|
||||
function zoom::init { // Initialize basic options
|
||||
if ($argc != 6) {
|
||||
echo "Usage: $0 base_amp base_fov min_zoom max_zoom zoom_step"
|
||||
echo "Usage: ", $0, " base_amp base_fov min_zoom max_zoom zoom_step"
|
||||
return
|
||||
}
|
||||
zoom.amp = $1
|
||||
|
@ -43,7 +43,7 @@ function zoom::init { // Initialize basic options
|
|||
}
|
||||
|
||||
// Default initial values
|
||||
zoom.init 1 90 1 90 1.15
|
||||
zoom::init 1 90 1 90 1.15
|
||||
|
||||
function zoom::adjust { // Adjust fov and sensitivity to match zoom factor
|
||||
if ${zoom.zoomed} {
|
||||
|
|
Loading…
Reference in a new issue