hastype() had forgotten the Division type
authorCobraMUSH <cobramush@nveid.com>
Tue, 4 Mar 2008 20:34:37 +0000 (20:34 +0000)
committerAri Johnson <ari@theari.com>
Thu, 24 Mar 2011 15:58:45 +0000 (15:58 +0000)
(cherry picked from commit add0103aeff5ca85ae24a48758681cebd4cad22f)

src/fundb.c

index b6665d9869e9e90244b000d3c47d9c952c982ea6..0cdcfbdf42c52627102ef4f074c1107e2427bc90 100644 (file)
@@ -1026,6 +1026,11 @@ FUNCTION(fun_hastype)
       if (IsThing(it))
       found = 1;
       break;
+    case 'd':
+    case 'D':
+      if (IsDivision(it))
+      found = 1;
+      break;
     case 'g':
     case 'G':
       if (IsGarbage(it))