mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Add BBCODE to Horse Descriptions, Player Descriptions and Ranch Descriptions.
This commit is contained in:
parent
bdebe4d84a
commit
72bc81d900
14 changed files with 142 additions and 40 deletions
|
@ -32,7 +32,9 @@ namespace HISP.Game
|
|||
{
|
||||
int pos = ((x * Height) + y);
|
||||
|
||||
if (pos >= oMapData.Length && overlay)
|
||||
if ((pos <= 0 || pos >= oMapData.Length) && overlay)
|
||||
return 1;
|
||||
else if ((pos <= 0 || pos >= MapData.Length) && !overlay)
|
||||
return 1;
|
||||
else if (overlay && Treasure.IsTileBuiredTreasure(x, y))
|
||||
return 193; // Burried Treasure tile.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue