Avoid a NULL pointer dereference when there's no shader.
Avoid a NULL pointer dereference when there's no shader.

The dereference was noticed when a turret exploded.

DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon