diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/gui/gui_gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp index 89f3ebed37..d37875cfcd 100644 --- a/engines/sci/gui/gui_gfx.cpp +++ b/engines/sci/gui/gui_gfx.cpp @@ -931,7 +931,7 @@ void SciGuiGfx::PriorityBandsInit(int16 bandCount, int16 top, int16 bottom) { _priorityTop = top; _priorityBottom = bottom; - bandSize = (_priorityBottom - _priorityTop) / (_priorityBandCount - 1); + bandSize = (_priorityBottom - _priorityTop) / (_priorityBandCount); memset(_priorityBands, 0, _priorityTop); for (y = _priorityTop; y < _priorityBottom; y++) |