

Fixed lightmap cache bug; everytime a lightmap is cached it was simply
compiling the lightmap and sending it to the OpenGL driver, consuming
massive bandwidth even if the lightmap had not changed.  Now we properly
check the flag set by RecalculateDynamicLights(), and don't reload the
lightmap if it hasn't changed.


git-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@652 8cc4aa7f-3514-0410-904f-f2cc9021211c

crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS