home · contact · privacy
Fix FOV floating point bugs by using fractions.Fraction for fractions.
[plomrogue2-experiments] / game_common.py
index 599e54bcda4c51b936b9dac9ac1d90b03debd8af..1119ce1b4f8b694a6f8a7f5da6b8686d07434752 100644 (file)
@@ -85,7 +85,7 @@ class CommonCommandsMixin:
             raise ArgError('First map argument must be one of: ' +
                            ', '.join(legal_grids))
         self.world.new_map(geometry, yx)
-    cmd_MAP.argtypes = 'string yx_tuple:nonneg'
+    cmd_MAP.argtypes = 'string yx_tuple:pos'
 
     def cmd_THING_TYPE(self, i, type_):
         t = self.world.get_thing(i)