diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-20 06:00:16 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-20 06:00:16 -0300 |
| commit | d3b92e110a06c6bb2bc0214319b390059bdf7c4a (patch) | |
| tree | 51293060ad930091625645cc62a1df26eb90fa59 /src/operate.cc | |
| parent | bd3a6a04601749cbde007eaabf803fb602ee2783 (diff) | |
| download | game-d3b92e110a06c6bb2bc0214319b390059bdf7c4a.tar.gz game-d3b92e110a06c6bb2bc0214319b390059bdf7c4a.zip | |
more work on `communication.cc`
Diffstat (limited to 'src/operate.cc')
| -rw-r--r-- | src/operate.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/operate.cc b/src/operate.cc index aa061a8..e019d36 100644 --- a/src/operate.cc +++ b/src/operate.cc @@ -2061,7 +2061,7 @@ void Look(uint32 CreatureID, Object Obj){ strcat(Description, Temp); } - strcat(Description, ". It\'s an \""); + strcat(Description, ". It's an \""); strcat(Description, Help); strcat(Description, "\"-spell"); @@ -2087,7 +2087,7 @@ void Look(uint32 CreatureID, Object Obj){ // TODO(fusion): Make `GetHouseOwner` return "Nobody" when there // is no owner name. snprintf(Help, sizeof(Help), - ". It belongs to house \'%s\'. %s owns this house", + ". It belongs to house '%s'. %s owns this house", GetHouseName(HouseID), GetHouseOwner(HouseID)); strcat(Description, Help); }else{ @@ -3452,7 +3452,7 @@ const char *GetChannelName(int ChannelID, uint32 CharacterID){ case 7: return "Help"; default:{ if(ChannelID > 7){ - snprintf(ChannelName, sizeof(ChannelName), "%s\'s Channel", + snprintf(ChannelName, sizeof(ChannelName), "%s's Channel", Channel.at(ChannelID)->ModeratorName); return ChannelName; }else{ @@ -4109,7 +4109,7 @@ void JoinParty(uint32 GuestID, uint32 HostID){ Guest->JoinParty(HostID); SendMessage(Guest->Connection, TALK_INFO_MESSAGE, - "You have joined %s\'s party.", Host->Name); + "You have joined %s's party.", Host->Name); for(int i = 0; i < P->Members; i += 1){ uint32 MemberID = *P->Member.at(i); SendCreatureParty(Guest->Connection, MemberID); |
