diff options
Diffstat (limited to 'world.cpp')
-rw-r--r-- | world.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -84,7 +84,13 @@ Instruction Robot::resolve(World &world){ break; } case arg_t::constant: - assert(false); + assert(!arg.remote); + if(arg.name=="fields"){ + arg.type=arg_t::number; + arg.num=SIZE; + } else assert(false); + break; + default: assert(false); } |