> In this case, your fix works, just because no mini map code is executed
> after initialization.
Oh, doesn't work - or better: it is not enough. There are probably other
graphical objects that think that they are always valid.
> A potential fix is to change the minimap in GameGUI
> from an object to a pointer, and only create it in the first place if gfx
> exists.
Which also only works because no minimap code is executed after
initialization ...
--
Kai Antweiler
I don't understand what your saying. If there is code being executed after initialization, then the second will stop it, which is the proper way to do things. The first is only a lazy hack that should work when there isn't any code after execution, but I don't know for sure with nox