This should fix the problem. Replace the old version of recursivepaintentity with this one:
It never ceases to amaze me some of these bugs that people report... This bug for example. Has been in since I released the latest version a few weeks ago. Nobody reported it till now even though it should have affected a lot of people. And static shadows were broken for more than a month before someone reported it. :-)
; ------------------------------------------------------------------------------------------------------------------------------------- ; This function paints an entity and its children. ; ------------------------------------------------------------------------------------------------------------------------------------- Function RecursivePaintEntity(Entity, Brush) Local Child If (EntityClass$(Entity) = "Mesh") Or (EntityClass$(Entity) = "BSP") Then PaintEntity Entity, Brush For Child = 1 To CountChildren(Entity) RecursivePaintEntity(GetChild(Entity, Child), Brush) Next End Function
It never ceases to amaze me some of these bugs that people report... This bug for example. Has been in since I released the latest version a few weeks ago. Nobody reported it till now even though it should have affected a lot of people. And static shadows were broken for more than a month before someone reported it. :-)