mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 09:53:32 +00:00
Restore range check.
This commit is contained in:
parent
b43194ba2e
commit
7fbbef791e
@ -322,6 +322,7 @@ void set_active_scopes(hk_scopes s)
|
||||
|
||||
bool is_scope_active(scope s)
|
||||
{
|
||||
assert(s < SCOPE_COUNT);
|
||||
return scope_active_[s];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user