r_loop_faction and r_setentref_faction helpers
fix fix for mapmodel quickedit gui