Added Jamdog to do_cheat. --Rumble

This commit is contained in:
Rumble
2009-07-03 16:39:58 +00:00
parent eac2c08bf1
commit 1dc7d9287a
3 changed files with 3 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ int has_flight(struct char_data *ch)
/* Any equipped objects with AFF_FLYING will do it too. */
for (i = 0; i < NUM_WEARS; i++)
if (GET_EQ(ch, i) && OBJAFF_FLAGGED(obj, AFF_FLYING))
if (GET_EQ(ch, i) && OBJAFF_FLAGGED(GET_EQ(ch, i), AFF_FLYING))
return (1);
return (0);