[mw-devel] [Git][arthur/mw][master] Use the correct topic field name in LoadRoom

Andrew Price welshbyte at sucs.org
Sun Feb 17 19:44:01 GMT 2019


Andrew Price pushed to branch master at Justin Mitchell / mw


Commits:
6663b8fc by Andrew Price at 2019-02-17T19:42:51Z
Use the correct topic field name in LoadRoom

Fixes #36

- - - - -


1 changed file:

- src/rooms.c


Changes:

=====================================
src/rooms.c
=====================================
@@ -42,7 +42,7 @@ int LoadRoom(struct room *room, int num)
 
 	room->num=num;
 	room->name = db_room_get(num, "name");
-	room->desc = db_room_get(num, "desc");
+	room->desc = db_room_get(num, "topic");
 	room->prompt = db_room_get(num, "prompt");
 	room->hidden = str2num(db_room_get(num, "hidden"));
 	room->sproof = str2num(db_room_get(num, "soundproof"));



View it on GitLab: https://projects.sucs.org/arthur/mw/commit/6663b8fcf9f2eb26d2801c3ae0a2e8ec393c7853

-- 
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/6663b8fcf9f2eb26d2801c3ae0a2e8ec393c7853
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20190217/9200d53e/attachment.html>


More information about the mw-devel mailing list