PDA

View Full Version : What is up with GetMapFlag?



_L_
10-22-2006, 11:20 AM
bool GetMapFlag(int dmap, int flag)
* As with CurMapFlag, but retrieves the miscellaneous flags of any dmap,
* not just the current one. Use the MF_ constants in std.zh for the
* flag parameter.

I see two problems with this:

* DMaps don't have misc. flags.
* Screens have misc. flags, but there's no way to pass a screen number to that method.

Revfan9
10-22-2006, 12:40 PM
*coughnewbeta15featurecough*

Remember, that documentation is for beta 15, not beta 14. Like with the item and NPC functions.

DarkDragon
10-30-2006, 11:04 AM
That or I was smoking crack at the time of the documentation, either one is equally likely :shrug:
jman implemented the flag and thus should be more familiar with what it does, I just wrote the documentation on a (very cursory) inspection of the source.