mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
Mapster32: improve diagnostic message.
git-svn-id: https://svn.eduke32.com/eduke32@5285 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3ff2e2155c
commit
c79691bb6f
1 changed files with 2 additions and 3 deletions
|
@ -3307,6 +3307,8 @@ void overheadeditor(void)
|
||||||
zoom += (ztarget - zoom) >> 3;
|
zoom += (ztarget - zoom) >> 3;
|
||||||
else zoom++;
|
else zoom++;
|
||||||
zoom = min(zoom, ztarget);
|
zoom = min(zoom, ztarget);
|
||||||
|
if (zoom == 65536)
|
||||||
|
silentmessage("Ludicrous Zoom!");
|
||||||
}
|
}
|
||||||
else if (zoom > ztarget)
|
else if (zoom > ztarget)
|
||||||
{
|
{
|
||||||
|
@ -5946,9 +5948,6 @@ end_point_dragging:
|
||||||
ztarget = clamp(ztarget, 16, 65536);
|
ztarget = clamp(ztarget, 16, 65536);
|
||||||
|
|
||||||
_printmessage16("Zoom: %d",ztarget);
|
_printmessage16("Zoom: %d",ztarget);
|
||||||
|
|
||||||
if (ztarget == 16 || ztarget == 65536)
|
|
||||||
message("Ludicrous Zoom!");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue