The magic fire requies the object moving cheat
Go ctrl-shift-c and than type in move_objects on
Press enter and now in buy mode you can move anything.  Be warned it can have unexpected consequences (obviously if you can move ANYTHING).
Now you can use the magic fire.  Be careful however.  It behaves exactly like a regular fire the second you unpause the game or exit buy mode.