[ScryMUD] SVN Commit Info r853 - trunk/mud/grrmud/server
scrymud at wanfear.com
scrymud at wanfear.com
Mon Jan 29 18:16:21 PST 2007
Author: kaj
Date: 2007-01-29 18:16:21 -0800 (Mon, 29 Jan 2007)
New Revision: 853
Modified:
trunk/mud/grrmud/server/socials.cc
Log:
Added position checking for 'jump' social
Modified: trunk/mud/grrmud/server/socials.cc
===================================================================
--- trunk/mud/grrmud/server/socials.cc 2007-01-30 02:07:24 UTC (rev 852)
+++ trunk/mud/grrmud/server/socials.cc 2007-01-30 02:16:21 UTC (rev 853)
@@ -659,8 +659,9 @@
pc.emote(buf);
}
else pc.show(CS_DONT_SEEM_TO_HAVE_THAT);
- }
- else {
+ } else if (pc.POS >= POS_SIT) {
+ pc.show("You can't jump from this position.\n");
+ } else {
pc.show("You jump up and down in frustration.\n");
pc.emote("jumps up and down in frustration.");
}
More information about the ScryMUD
mailing list