Preproc if(s) in window_manager [inventory]

Everything about development and the OpenMW source code.
Post Reply
User avatar
Mirceam94
Posts: 12
Joined: 28 Jan 2012, 08:38

Preproc if(s) in window_manager [inventory]

Post by Mirceam94 » 30 Jan 2012, 19:49

Can I go ahead and take out the #if/#endif(s) related to the inventory in window_manager.cpp? Do we need them anymore? The condition is '0' and the contents are always commented out, so it looks like they may be left over from testing the inventory dialog.

Here's an example of one:

Code: Select all

#if 0
        //      inventory -> setVisible( eff & GW_Inventory );
#endif

User avatar
Zini
Posts: 5537
Joined: 06 Aug 2011, 15:16

Re: Preproc if(s) in window_manager [inventory]

Post by Zini » 30 Jan 2012, 19:53

I think that was from a much earlier attempt to implement an inventory GUI. You can remove it. If we need any of this code again, we can get it from the repository.

Post Reply