Fixed Bug#7929
-http://hercules.ws/board/tracker/issue-7929-overbrand-and-mapflags/?gopid=21542#entry21542
Fixed Bug#7966
-http://hercules.ws/board/tracker/issue-7966-over-brand/

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>