Core/Misc: Define some methods const
This commit is contained in:
1 parent
ced723a53a
commit
81606e5d1e
127 files changed
+273
-269
No files matched your search
@@ -2284,7 +2284,7 @@ class npc_wormhole : public CreatureScript
|
||||
_showUnderground = urand(0, 100) == 0; // Guessed value, it is really rare though
|
||||
}
|
||||
|
||||
uint32 GetData(uint32 type)
|
||||
uint32 GetData(uint32 type) const
|
||||
{
|
||||
return (type == DATA_SHOW_UNDERGROUND && _showUnderground) ? 1 : 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user