> - >I was just putting some more races in and wondered if there was a limit to > - >how many races circlemud can handle in it's present form? Reason i ask is > - >i notice in several spots the proggie is shifting a bit depending on which > - >race is chosen. I figure eventually if you keep shifting that bit it's > - >going into the ol bit-bucket.. so how many races can one have? > - > - You've noticed this too, huh? I get the left-shift warning 3 times when > - compiling because my highest bitvector type thingie is (1 << 34). > - > - I think it's because of the 32-bit thing, but i'm not sure, and have yet to > - figure out how to get it to go away. Warnings are there for a reason! You can only "fix" the warning by fixing the code, which I promise does not work. 1 << 34 is meaningless -- it's just 0. The 1 is getting shifted right off the end of the 32-bit integer.
This archive was generated by hypermail 2b30 : 12/18/00 PST