diff options
| author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-03-19 13:53:03 +0100 |
|---|---|---|
| committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-03-20 15:09:43 +0100 |
| commit | 318cb3a18ac4aa906b18ffd170bf0b1033c62d33 (patch) | |
| tree | 066e8bdde6e930ce7d8a267dbc2e5774a235863d /src/utils/xml.cpp | |
| parent | 6c4f42e1b11a0713fa59fcf85e45a24eee5da0f0 (diff) | |
| download | manaserv-318cb3a18ac4aa906b18ffd170bf0b1033c62d33.tar.gz manaserv-318cb3a18ac4aa906b18ffd170bf0b1033c62d33.tar.xz manaserv-318cb3a18ac4aa906b18ffd170bf0b1033c62d33.zip | |
Introduced ModifierLocation struct
Easier to understand than a std::pair<unsigned int, unsigned int>, or
functions like getTagFromInfo(unsigned int, unsigned int), which does
not make clear what that "info" actually is.
Now it's simply getTag(const ModifierLocation &location), documenting
itself and also allowing the name to be shorter.
Reviewed-by: Freeyorp
Diffstat (limited to 'src/utils/xml.cpp')
0 files changed, 0 insertions, 0 deletions
