diff options
Diffstat (limited to 'engines/glk/quest/limit_stack.h')
-rw-r--r-- | engines/glk/quest/limit_stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/quest/limit_stack.h b/engines/glk/quest/limit_stack.h index 75cad4401d..35ea93dfe9 100644 --- a/engines/glk/quest/limit_stack.h +++ b/engines/glk/quest/limit_stack.h @@ -54,7 +54,7 @@ template <class T> class LimitStack { */ public: - LimitStack(uint size) : stack_size(size), cur_ptr(0), end_ptr(size - 1), data(Common::Array<T> (size)) { } + LimitStack(uint maxSize) : stack_size(maxSize), cur_ptr(0), end_ptr(maxSize - 1), data(Common::Array<T> (maxSize)) { } void push(T &item) { if (cur_ptr == end_ptr) |