Zero and null are the same in the switch.
If this is intentional I would like it to be documented.
Code Snippet (if applicable) to Reproduce Problem:
mob/verb/Bug()
switch(0)
if(null)
world<<"Fails"
if(0)
world<<"Works"
switch(null)
if(0)
world<<"Fails"
if(null)
world<<"Works"
Expected Results:
It to know the difference between null and zero
Actual Results:
It triggers the first case in the switch
Does the problem occur:
Every time? Or how often?
Every time
Workarounds:
Convert it to a string first.