Fixed mobsaving mixing references with pointers.