Fixed stupid syntax error (game/misc.cpp) and prevented buffer overflow