changeset 3513 | f589230fa21b |
parent 3509 | d72c2219595d |
child 3519 | 56cbc035b74b |
--- a/hedgewars/uLandObjects.pas Thu Jun 17 11:42:23 2010 -0400 +++ b/hedgewars/uLandObjects.pas Thu Jun 17 19:57:51 2010 +0200 @@ -536,6 +536,8 @@ SDL_FreeSurface(ThemeObjects.objs[i].Surf); if SprayObjects.objs[i].Surf <> nil then SDL_FreeSurface(SprayObjects.objs[i].Surf); + ThemeObjects.objs[i].Surf:= nil; + SprayObjects.objs[i].Surf:= nil; end; end;