diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 96fb92a8..2510afe9 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -761,12 +761,8 @@ stock constraint_offset(low, high, seed, offset) { return low + (offset % numElements); } - else - { - return high - (abs(offset) % numElements) + 1; - } - - return 0; // Makes the compiler happy -_- + + return high - (abs(offset) % numElements) + 1; } /**